• Resolved svenjick

    (@svenjick)


    Hi,

    As requested by Map Block for Google, I’ve tried to create my own API Key in the Google Console, and replaced the standard AIzaSyAjyDspiPfzEfjRSS5fQzm-3jHFjHxeXB4 with our new one. Everytime I replace it in WordPress, I get this error:

    Google Maps Platform rejected your request. This API project is not authorised to use this API.

    What might be wrong? I have created an API key, it is unrestricted. Should anything else be configured in particular, such as Domain Verification or OAuth Consent Screen?

    Any help/idea would be appreciated. Thanks in advance.

    (I’ve running the latest version of WordPress, with the latest version of the plugin)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    You should restrict your API key to your domain/website once you get it working. The issue is probably that you do not have billing enabled for your Google project to which that API key belongs.

    Thread Starter svenjick

    (@svenjick)

    Hi Alexandru,

    Thanks for your reply. I activated the billing for my Google account, but that changed nothing, I still get the error. How can I help debug?

    Nicolas

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    I’m not sure what else could cause it. Maybe you have some other plugin that is also loading Google Maps API with a different key and overwriting the new one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Request rejected: API not authorised’ is closed to new replies.