Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

401

Jarred Oct 06, 2017 02:42PM UTC

I am trying to implement your weather API. I keep getting error 401. I have researched and it appears that this is an activation error. I waited several days and it never activated. I then tried creating another key (PortraitKey) and it is still blocked. Please help as I am not sure how to correct this issue.

Up 0 rated Down
Jarred Oct 06, 2017 03:08PM UTC
I found the resolve... posting just in case someone else runs into this.

It was being blocked b/c of the 5-day forecast call changed.
The old one I used and worked for a year was:

http://api.openweathermap.org/data/2.5/forecast/daily?lat=" + lat + "&lon=" + lng + "&cnt=7&units=imperial&APPID=MyAPI"

I changed it to:

"http://api.openweathermap.org/data/2.5/forecast?lat=" + lat + "&lon=" + lng + "&cnt=7&units=imperial&APPID=MyAPI"



Up 0 rated Down
Maxim Gushcho Oct 09, 2017 01:58PM UTC OpenWeatherMap Agent

Hello,

The 16 daily froecast has been transefred to the paid version of the service.
It has been in the beta mode previously.
However, the testing period has ended.

It is now available starting from the Startup plan.
Prcing for your reference: http://openweathermap.org/price

Thanks for understanding.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete