Google の Distance Matrix API を呼び出すと、断続的に OVER_QUERY_LIMIT エラーが発生します。
課金を有効にすると、API ドキュメントに従って 1 日あたり 100,000 件のリクエストを作成できるため、このエラーは表示されません。ただし、現在、1 日あたり 2500 ~ 2600 件のリクエストを行っています。
また、Google コンソール プロジェクトの API 統計レポートでは、ダッシュボードに Distance Matrix API のデータは表示されませんが、他の API のデータは表示されます。添付のスクリーンショットを参照してください。
エラーメッセージ:
{
"destination_addresses": [],
"error_message": "You have exceeded your daily request quota for this API. We recommend registering for a key at the Google Developers Console: https://console.developers.google.com/apis/credentials?project=_",
"origin_addresses": [],
"rows": [],
"status": "OVER_QUERY_LIMIT"
}