Title: &#8220;401 Invalid API Key&#8221; error
Last modified: April 22, 2024

---

# “401 Invalid API Key” error

 *  [nathalie75](https://wordpress.org/support/users/nathalie75/)
 * (@nathalie75)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/401-invalid-api-key-error/)
 * Hi,
 * I try to display on my website the weather forcast for the next 3 days but only
   a 401 Invalid API Key error will be displayed. I had a look at your FAQ:
   [https://ujsoftware.com/owm-weather-blog/owm-weather-faq/](https://ujsoftware.com/owm-weather-blog/owm-weather-faq/)
   and suscribed to the OpenWeather’s OneCall API 3.0.
 * I think the issue is that the plugin tries to call this link:
 * [https://api.openweathermap.org/data/2.5/onecall?lon=12.3333&lat=47.8667&mode=json&exclude=minutely&lang=de&units=metric&APPID=XXX](https://api.openweathermap.org/data/2.5/onecall?lon=12.3333&lat=47.8667&mode=json&exclude=minutely&lang=de&units=metric&APPID=XXX)
 * but the right link is:
 * [https://api.openweathermap.org/data/3.0/onecall?lon=12.3333&lat=47.8667&mode=json&exclude=minutely&lang=de&units=metric&APPID=XXX](https://api.openweathermap.org/data/3.0/onecall?lon=12.3333&lat=47.8667&mode=json&exclude=minutely&lang=de&units=metric&APPID=XXX)
 * (with 3.0 instead of 2.5). Is there a bug here or may I have some wrong settings
   somewhere?
   Thank you for your help.
 * Nathalie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F401-invalid-api-key-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Uwe Jacobs](https://wordpress.org/support/users/uwejacobs/)
 * (@uwejacobs)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/401-invalid-api-key-error/#post-17719375)
 * OpenWeather is sun-setting the OneCall 2.5 API. Everyone who has a OneCall 2.5
   subscription can still use it for a short time. Anyone who tries to subscribe
   to OneCall now must choose the 3.0 version – which is not free anymore.
 * WordPress deactivated OWM Weather because I had issues with the email listed 
   at the plugin. In order to reinstate the plugin, I have to go again through the
   plugin verification process. WordPress sent me a long list of item I must fix
   before the plugin can be reinstated. Many of them passed the test when I started
   the plugin but seem to fail now. In addition, they want me to change library 
   code like leaflet (map) that is included in the code.
 * With a heavy heart, I will retire OWM Weather, since I don’t have the resources
   for these changes. If anyone is interested in continuing the plugin, go ahead.
 *  [Uwe Wassenberg](https://wordpress.org/support/users/digitalplayer/)
 * (@digitalplayer)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/401-invalid-api-key-error/#post-17971698)
 * Seems, that OWM Wetter stopped working today. Openweather has deactivated its
   API 2.5 last night. I signed in to Openweather API 3.0, but OWM Weather is still
   not working. The API-Code is still the same for 2.5 and 3.0.
 * I will watch the case until sunday. If it doesnt work with API 3.0, I must uninstall
   OWM, also with a heavy heart. Such a nice plugin will end.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘“401 Invalid API Key” error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/owm-weather_3a88fe.svg)
 * [OWM Weather](https://wordpress.org/plugins/owm-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/owm-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/owm-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/owm-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/owm-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/owm-weather/reviews/)

## Tags

 * [error 401](https://wordpress.org/support/topic-tag/error-401/)

 * 2 replies
 * 3 participants
 * Last reply from: [Uwe Wassenberg](https://wordpress.org/support/users/digitalplayer/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/401-invalid-api-key-error/#post-17971698)
 * Status: not resolved