【问题标题】:What Http Status Code HERE api returns after 250k transactions is used up?250k 事务用完后,这里的 Http Status Code api 返回什么?
【发布时间】:2020-05-29 19:35:13
【问题描述】:

我正在使用免费增值帐户来测试路由 API。我想知道250k免费事务烧完后api返回的http状态码和错误信息是什么?

我没有在文档https://developer.here.com/documentation/routing/dev_guide/topics/http-status-codes.html 中找到它。

【问题讨论】:

  • 429 请求太多,很可能

标签: here-api


【解决方案1】:

响应如下:错误码为403,最好继续检查

if (status > 299) {
                InputStream is = con.getErrorStream();
                BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                rd.close();
            }

{"error":"Forbidden","error_description":"这些凭据不授予访问权限。请联系您的客户 代表或发送电子邮件至 locationapi@here.com 讨论升级您的帐户。"}

【讨论】:

    猜你喜欢
    • 2023-03-25
    • 2019-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-29
    • 2016-04-11
    • 2013-05-21
    相关资源
    最近更新 更多