Google Places API - REQUEST_DENIED

前端 未结 5 1390
情深已故
情深已故 2020-11-29 08:54

What this is NOT

a) a \"sensor=true_or_false\" issue
b) a key is wrong issue (unless the key I got has limitations)
c) too many requests (si

5条回答
  •  心在旅途
    2020-11-29 09:35

    This is actually (b): wrong key. Actually, you're using the wrong kind of key (from Sign Up for the Google Maps API which is only good for the JavaScript V2 API).

    Please see Obtaining an API Key for how to get a new API key, of the new kind.

    Edit: At the time this question arose, valid API keys that worked on Geocoding API did not work on Places API, but now seem to work fine. Looks like some issue on Google side.

提交回复
热议问题