Support Center

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

401 error from api call.

Randall Harrison Taylor Mar 19, 2019 06:54PM GMT

I'm using https://maps.owm.io/map/temperature/3/33/112.png?appid=fe2a775f427aa5fc92ce0379937b9ee9 for the fetch call and it give me the 401 error. There are not many examples of Api calls so it could be the key or the http address.

Up 0 rated Down
Pavel Zuykov Mar 20, 2019 06:26AM GMT OpenWeatherMap Agent

Hello,

This endpoint is only available for users who subscribed to Developer plan and higher. It also requires the API key authentication. The access is given only by the request.

Also, there is no tiles with number 33 and 112 on 3rd zoom. Please read about Mercator projection that used here: https://en.wikipedia.org/wiki/Mercator_projection

Layer “temperature” also doesn’t exist. List of available layers and other info you can find here: https://openweathermap.org/api/weathermaps

Here is right example of calll: https://tile.openweathermap.org/map/temp_new/3/2/2.png?appid=fe2a775f427aa5fc92ce0379937b9ee9

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