Closed WeltensiedlerDE closed 1 year ago
The configuration values seem to work for me. If you recently generated that API key, you might have to wait a bit (usually a couple of hours) before it becomes valid.
If you want to confirm whether it's a problem with the plugin or not, go to this address in any web browser: https://api.openweathermap.org/geo/1.0/zip?zip=34134,DE&appid=[YOUR_API_KEY] (replace [YOUR_API_KEY] with your API key)
If your API key is valid, you should get a response like this:
{"zip":"34134","name":"Kassel","lat":51.2878,"lon":9.4705,"country":"DE"}
If it isn't, you'll get a response like this:
{"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}
Please let me know if this solution works so I can help you out or close the issue.
Is there maybe a problem with the country code DE and the german zip code 34134 instead?
Here is the error log:
And here is my config. I have just replaced tie api key for posting here. On my server the config has a correct api key from openweathermap.org:
I have replaced all comments, because the markdown of the editor makes the font size really big.