【问题标题】:Reverse Geocode Here Maps gives error invalid credentialsReverse Geocode Here Maps 提供错误无效凭据
【发布时间】:2018-04-13 19:27:21
【问题描述】:

当我在 Here Maps API 上尝试反向地理编码时,我们收到错误“xxxxxxxxxxxx 的凭据无效”。

即使使用演示 app_id 和 app_code 也会出错。

任何人都知道 Here Maps 的支持联系人以查看发生了什么?

[已编辑] 产生错误的示例请求是: https://reverse.geocoder.cit.api.here.com/6.2/reversegeocode.json?app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg&mode=retrieveAddresses&prox=41.8842,-87.6388,250

【问题讨论】:

    标签: maps credentials here-api


    【解决方案1】:

    可以在developer.here.com上找到使用演示凭据的工作示例

    我想这里的问题是您试图在示例之外使用演示凭据而不是您自己的用户凭据,并且错误消息的文本可能是故意误导的。尝试改用您自己的app_idapp_code

    您还可以下载 Geocoder Postman Collection 以生成正确的 REST 请求,而不是依赖浏览器。

    您可以检查以下链接是否适合您。 https://reverse.geocoder.cit.api.here.com/6.2/reversegeocode.json?prox=41.8839%2C-87.6389%2C250&mode=retrieveAddresses&maxresults=1&gen=8&app_id=XXXXXXXXX&app_code=XXXXXXXXX - 它对我有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多