Google Places API - REQUEST_DENIED

前端 未结 5 1388
情深已故
情深已故 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:58

    I just got a REQUEST_DENIED response when making an autocomplete request in a Ruby app. It turned out that I had not specifically switched on the Places API in my google api console.

    Go to: https://console.developers.google.com and login. In the left menu go to "APIs & auth" -> "APIs" Then find the "Places API" option and click on the status to the right to toggle it to "on"

    This fixed the problem immediately for me.

提交回复
热议问题