Here.com目的地天气API返回"Forbidden"(禁止)“这些凭证不授权访问". [英] Here.com Destination Weather API returns "Forbidden" "These credentials do not authorize access"

查看:53
本文介绍了Here.com目的地天气API返回"Forbidden"(禁止)“这些凭证不授权访问".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前,我使用Here.com免费增值帐户,使用的是

解决方案

在developer.here.com上,您可以查询服务的状态.我是这样做的,最近几天没有看到Weather API的报告问题.

我的建议是您在注册帐户后错过了验证电子邮件地址的机会.注册后,您仍然可以随时通过单击从开发人员门户发送的电子邮件中收到的链接来执行此操作.

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:

解决方案

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.

这篇关于Here.com目的地天气API返回"Forbidden"(禁止)“这些凭证不授权访问".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆