【问题标题】:These credentials do not authorize access这些凭据不授权访问
【发布时间】:2017-11-23 13:22:39
【问题描述】:

我在 here.com 开发者计划中注册并于 2017 年 11 月 21 日创建了一个项目。我从该项目的开发者控制台获得了我的 APP_ID 和 APP_CODE,我正在以下请求中使用它们。

https://wse.cit.api.here.com/2/findsequence.json?start=50.0715%2C8.2434&destination1=50.1073%2C8.6647&destination2=49.8728%2C8.6326&destination3=50.0505%2C8.5698&destination4=50.1218%2C8.9298&end=50.0021%2C8.259&improveFor=time&mode=fastest%3Bcar&app_id=APP_ID&app_code=APP_CODE

当我运行此请求时,我不断收到以下消息:

{"faultCode":"s6a22042f-3092-40a9-94c4-1de81b80eea4","re​​sponseCode": "403","message":"这些凭据不授权访问。请联系您的客户代表或在此处提交请求https://developer.here.com/contact-us 升级您的帐户。您还可以通过在https://developer.here.com 注册免费试用许可证来获取有效凭据。"}

在开发者控制台中,它指出 APP_ID 和 APP_CODE 可能需要 1 小时才能完全注册,现在已经 2 天了,我仍然收到该消息。

您能帮我完成这项工作吗?

非常感谢您。

【问题讨论】:

    标签: here-api


    【解决方案1】:

    请使用凭证有效且可以工作的生产环境。生产环境不会在url中包含“cit”。

    https://wse.api.here.com/2/findsequence.json?start=50.0715%2C8.2434&destination1=50.1073%2C8.6647&destination2=49.8728%2C8.6326&destination3=50.0505% 2C8.5698&destination4=50.1218%2C8.9298&end=50.0021%2C8.259&improveFor=time&mode=fastest%3Bcar&app_id=App_Id&app_code=App_Code

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-05
      • 1970-01-01
      • 2022-10-13
      • 1970-01-01
      • 1970-01-01
      • 2022-11-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多