Weather API error: Invalid API key. Please see http://openweathermap.org/faq#err

Posted in: Newsmag
Post count: 4

I am using the weather widget on my site which I like but getting the error:

Weather API error: Invalid API key. Please see http://openweathermap.org/faq#error401 for more info.

My site is: http://www.alloexpat.com/

I have checked everything like extra spaces and followed the documentation. I contacted openweathermap and they said there is no problem with my API and the problem is in the App.

I just updated the theme yesterday and still getting the error.

  • This topic was modified 6 years by alloexpat.
Post count: 35449

Hi,

Please make sure that all the settings are like in our requirements, please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Follow the steps found in here in order to fix your weather widget: https://forum.tagdiv.com/weather-widget/ also make sure that you do not have a blank space -> https://www.screencast.com/t/vcqxTL8hOb ->
https://www.screencast.com/t/mpJoChIFMXu0

The weather widget has to be configured with an API key, then the location you desire
https://www.screencast.com/t/NxKGkug9rDlA
This is a guide for it
https://forum.tagdiv.com/weather-widget/

Let me know the results!
Thank you!

Post count: 4

Unfortunately, still not working.

I am using the tagDiv Weather widget. The documentation you linked to, looks different. I put the API key in the widget. I can’t see where to put it in the theme options like shown in the documentation.

Post count: 35449

Hi,

The weather api need to be set in theme panel > header> top bar -> https://i.imgur.com/F34R2LQ.png -> https://i.imgur.com/8DNIIan.png

Thank you!

Post count: 4

Thanks. I somehow missed that.

Post count: 13

I noticed that my API key had table HTML attached to it. I could not see this in the Newspaper OWM API key field. But I happened to paste my copied API key into a WordPress note plugin with an editor, and saw it there. Once I removed the HTML and copied ONLY the API key, it worked immediately in the Newspaper weather widget.

Post count: 35449

Hi JoAnn, I do not quite understanding, the api key for Newspaper weather widget is not working for you ? If this is the problem, please provide me some more details and a link where I can inspect this problems.

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newsmag’ is closed to new topics and replies.