0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Google Geocoding API利用時の「The provided API key is expired.」エラーへの対応

Last updated at Posted at 2020-05-19

事象

Google Gecoding APIを利用するため、同APIを有効にして正常に発行したAPI Keyを利用しているのに、「The provided API key is expired.」と言われて使えない。

いやいや、作ったばっかりなのにおかしいでしょ!?

{
   "error_message" : "The provided API key is expired.",
   "results" : [],
   "status" : "REQUEST_DENIED"
}

API Keyの制約変更は「注: 設定が有効になるまで、最大で 5 分かかることがあります」とのことなので、試行錯誤に時間がかかります。

対応

Maps JavaScript APIも有効にして、API Keyの制約設定で利用可にすると解消します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?