Here.com Destination Weather API returns “Forbidden” “These credentials do not authorize access”

半世苍凉 提交于 2021-01-29 18:25:54

问题


Using the Here.com Freemium account, previously I was using the example here with my own API Key and some modifications to get the 7 day forecast. Based on this command, I had some code running in my back-end server every 2h collecting data, which ran for about a week without problems. I have not touched the code since then.

After a week, it stopped working.

Now, even when I generate a new API key, and use the same command, I get the following return data in Postman:

{
    "error": "Forbidden",
    "error_description": "These credentials do not authorize access"
}

Is my account restricted? It doesn't say anything about it in my Project page:


回答1:


Without doing anything, suddenly it started working again, and on Oct. 1st.

I suspected I was being throttled, but when I tried using the service on a separate account, that also didn't work. So it seems likely the service was down. I wish there was some news page that posted what the status was?...




回答2:


On developer.here.com you can look up the status of the services. I did this and don't see a reported problem for the Weather API for the last days.

My suggestion is that you missed to verify your email address after registering for your account. You still can do this at any time through clicking on the link that you received in an email from developer portal after your registration.



来源:https://stackoverflow.com/questions/64102737/here-com-destination-weather-api-returns-forbidden-these-credentials-do-not-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!