gpt4 book ai didi

android - 如何修复 xml 文件谷歌地图中的错误 "You have exceeded your daily request quota for this API"?

转载 作者:行者123 更新时间:2023-11-29 14:31:49 25 4
gpt4 key购买 nike

我曾尝试使用此链接获取方向“http://maps.googleapis.com/maps/api/directions/xml?origin=10.933952,106.863352&destination=10.9490721,106.8574901&sensor=false&units=metric&mode=wailing&metric=1”,但今天它不起作用

请帮帮我!!

<DirectionsResponse>
<status>OVER_QUERY_LIMIT</status>
<error_message>
You have exceeded your daily request quota for this API.
</error_message>
</DirectionsResponse>

最佳答案

https://developers.google.com/maps/documentation/business/articles/usage_limits#limitexceeded

You can exceed the Google Maps API Web Services usage limits by:

Sending too many requests per day.
Sending requests too fast, i.e. too many requests per second.
Sending requests too fast for too long or otherwise abusing the web service.
Exceeding other usage limits, e.g. points per request in the Elevation API.

收到状态代码为 OVER_QUERY_LIMIT 的响应后,您的应用程序应确定超出了哪个使用限制。这可以通过暂停 2 秒并重新发送相同的请求来完成。如果状态代码仍然是 OVER_QUERY_LIMIT,则您的应用程序每天发送的请求过多。否则,您的应用程序每秒发送的请求过多。

关于android - 如何修复 xml 文件谷歌地图中的错误 "You have exceeded your daily request quota for this API"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23459698/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com