【发布时间】: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
我正在使用免费增值帐户来测试路由 API。我想知道250k免费事务烧完后api返回的http状态码和错误信息是什么?
我没有在文档https://developer.here.com/documentation/routing/dev_guide/topics/http-status-codes.html 中找到它。
【问题讨论】:
标签: here-api
响应如下:错误码为403,最好继续检查
if (status > 299) {
InputStream is = con.getErrorStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
rd.close();
}
{"error":"Forbidden","error_description":"这些凭据不授予访问权限。请联系您的客户 代表或发送电子邮件至 locationapi@here.com 讨论升级您的帐户。"}
【讨论】: