ExpiredKeyMapError on newly generated API key

前端 未结 3 638
星月不相逢
星月不相逢 2021-01-03 23:38

I have just generated an API Key to enable us to display a Google map on our website but I\'m getting the ExpiredKeyMapError. This is the exact same issue as this stackover

相关标签:
3条回答
  • 2021-01-03 23:52

    I had the same error after generating a new API key, but I had JavaScript API already enabled and everything correctly setup.

    While searching for an answer and checking what else I can do, the key started to work. So every single time you create a new key, be patient and expect it to work within 1-8 minutes.

    0 讨论(0)
  • 2021-01-04 00:11

    I discovered that it was not working because I hadn't separately enabled the Places API. Once I'd done that, the map started working a few minutes later.

    enter image description here

    0 讨论(0)
  • 2021-01-04 00:17

    I discovered that it was not working because I hadn't separately enabled the Google maps javascript API. Once I'd done that, the map started working a few minutes later.

    0 讨论(0)
提交回复
热议问题