If you just signed up then it can take a couple hours until the key works again. You could have kept your old key and just subscribed to the API too. It’s been 9 hours, still not working?
Although i struggled with this for a while, i ended up using the Norwegian Meteorological Institute integration (it’s an addon) simpler to use and configured
I also had a problem with the Openweathermap.org API in version 3.0, when I had to insert the API into HA, during integration. I got Invalid API, and couldn’t proceed. What did the trick for me was that there should ONLY be ONE Active API on your Openweather account. You can find it under your profile. This worked for me!
I was able to solve the problem by deleting the default API key in OpenWeatherMap. I then no longer got the invalid error in HomeAssistant and was able to complete the integration. Maybe this will help everyone finally.
I just didn’t have the subscription even though I had a openweather account and API keys I used on my Garmin watch for instance. So it just needs to give a phone number and a credit card information. Set the API limit to 1000req/day to avoid bad surprises too. It’s very nice of them they let you set a limit, but I need to pay them something someday
A nice way to debug this integration is to enable this log. You’ll have a more precise error given during the API call :
Thats it. I followed some old instructions to get the OWM integration and there was no subscription needed. So I got the error. Then i saw on - OpenWeatherMap - Home Assistant - that you need a subscription. ( “* Visit the OpenWeatherMap website and activate the One Call subscription.”)