• Resolved dmwc

    (@dmwc)


    Hello,

    I’ve seen more people have the same problem as me ?? But I don’t find a solution. I am trying for two hrs now to get the plugin running. No chance: Your Google API Key is not valid for this request and permission is denied.

    API is set and restricted to the IP stated in the setup.

    Places API is set.

    Billing is enabled.

    Places API is enabled.

    But still Retrieved data says: This IP, site or mobile application is not authorized to use this API key.

    I use this plugin on two other websites and that works.

    What can that be?

    Thanks!

    Dirk

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @dmwc It sounds like you’ve followed the steps correctly. The usual solution to this problem as specified in the other replies to similar posts – the billing details need to be active with Google.

    The error message in the Retrieved Data shows that it could be something slightly different here – are you sure that the API Key is specifically restricted to your hosting server’s IP and the API Restriction is set to “Places API”? I’ve noticed that some people sometimes set either of these incorrectly and receive a similar error to yours.

    Let me know how this goes?

    Thread Starter dmwc

    (@dmwc)

    Ok, I triple-check ??

    Billing is active I think. If I follow the link at “Update Frequency” this is shown: https://gyazo.com/5a7a3640c6728425deb2238ca5bfc213

    If I choose La Chacra I am forwarded https://console.cloud.google.com/billing/… The site is simply shown, no call to action, credit card is activated. Looks fine to me. But maybe there is an action needed?

    Restrictions are set correctly I think: https://gyazo.com/94a6d513f6ef3b9bda7b5bc31138eb2e

    And if I go to https://console.cloud.google.com/apis/library/places-backend.googleapis.com?q=place there is a blue Enable button https://gyazo.com/25028d65b986ef5eb320a9670cf5e8c1. If I click that and choose the new project I am forwarded to https://console.cloud.google.com/google/maps-apis/metrics, which is a bit odd.

    Plugin Author Design Extreme

    (@designextreme)

    @dmwc The Places API is enabled because it is selected in the API Restrictions, but I’m not sure that the billing is actually enabled here.

    Thread Starter dmwc

    (@dmwc)

    But it worked with this billing set up on two other pages … and even if I set the Update Frequency to Never, it doesn’t work.

    Plugin Author Design Extreme

    (@designextreme)

    @dmwc The Update value of “Never” only applies for the first time of use and for a new Google API account. I’m considering making the Billing a requirement in the near future as the free/unattached account provided by Google is so limited that it renders it near useless.

    Please email me at wordpress dash plugins at designextreme dot com and I’ll provide you with a temporary API until you can resolve the billing matter with Google.

    Thread Starter dmwc

    (@dmwc)

    Ok, I checked the billing and this is definitively enabled: https://gyazo.com/4ab84488e1d67daa89d4fcd1a4611f77 Van Dyck is the project where it works, La Chacra where is doesn’t work.

    Ok, I will send you an email, many thanks!

    Plugin Author Design Extreme

    (@designextreme)

    Resolved using a separate API Key from a different Google account.

    Plugin Author Design Extreme

    (@designextreme)

    @dmwc Actually resolved using the IPv6 IP address rather than the IPv4 displayed in the plugin. The Retrieved Data displayed the expected IP address, so this needed adding to the list of IP addresses in the API Key Restrictions.

    I am going to improve the handling of this error in a future version as it doesn’t always show the IP address version that Google is using to verify the IP address – it will never be perfect, but the error message (and the list of “Server IPs”) can be improved.

    • This reply was modified 4 years, 2 months ago by Design Extreme. Reason: Second sentence
    Thread Starter dmwc

    (@dmwc)

    perfect!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Your Google API Key is not valid for this request and permission is denied.’ is closed to new replies.