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 Cloud Platform の Geocoding API に HTTP リファラ制限をかけられない

Last updated at Posted at 2021-02-17

これによると Geocoding API は IP による制限しかかけられないのであきらめるしかない。フロントで使いたい場合はバックでプロキシしたりする感じか。

GCPのAPIキーの設定画面だとGeocoding APIをHTTPリファラーで制限しても特に何も言われないが、このAPIキーを使ってGeocoding APIを使おうとすると以下のように怒られる。

{
   "error_message" : "API keys with referer restrictions cannot be used with this API.",
   "results" : [],
   "status" : "REQUEST_DENIED"
}
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?