• Resolved melanie71

    (@melanie71)


    Hello! Just trying to setup this plugin, and I’m getting the message “Error: Your Google API Key is not valid for this request and permission is denied. Please check your Google API Key.”

    I’ve gone through your document here, and everything is looking right https://designextreme.com/wordpress/google-api/

    The only thing I can see in the Google setup is a note “Remember to configure the OAuth consent screen with information about your application.” I have no idea what that means or what I would need to do here.

    I have made sure the Billing account is enabled. Places API is enabled.

    Any help you can offer would be greatly appreciated.

    Regards
    Melanie

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

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

    (@designextreme)

    @melanie71 Thanks for getting in touch.

    I just checked my APIs and Services section and I created an “App” of sorts that handles the OAuth consent screen.

    Give it a name, perhaps relating to your website (if one) or hosting (if more). Select the user type as external and set a low user limit (this will be very low). I think that may be all you need.

    I hope this helps.

    All the best,

    Noah

    Thread Starter melanie71

    (@melanie71)

    Hi Noah – thank for your prompt reply!

    I have tried doing that, but still no luck. The OAuth Consent Screen states ‘Verification Status’ is ‘Not published’ but I have no idea what to enter for all the rest of the fields https://pasteboard.co/IVEaHxj.png … I’m a bit confused that this isn’t in your setup instructions. Would the plugin normally work without setting this info at OAuth Consent Screen?

    Regards
    Melanie

    Plugin Author Design Extreme

    (@designextreme)

    @melanie71 Actually, I think this may be another unrelated issue and not the OAuth Consent Screen. Can you recheck the following:

    • The Places API is enabled.
    • The Google API Credentials are set correctly with your IP with: Application restrictions set to IP Addresses.
    • API restrictions is set to Restrict Key and Places ID is set.

    It’s good to affirm this is all correct as the error does relate to the permissions.

    I’ll investigate further if none of this helps resolve this issue. It may be worth contacting me privately with the API Key and Place ID so I can replicate the error.

    Thread Starter melanie71

    (@melanie71)

    Hi Noah – yes, all those things appear to be set.

    Places API enabled – https://pasteboard.co/IVEDSai.png

    The Google API Credentials are set correctly with your IP (I’m just using the IP address that your plugin settings told me to use) with: Application restrictions set to IP Addresses – https://pasteboard.co/IVEEmJu.png
    If I go to https://whatismyipaddress.com/ I get a different IP, so I’m a bit confused by this one.

    API restrictions is set to Restrict Key and Places ID is set – https://pasteboard.co/IVEFMvN.png

    If anything is jumping out at you that I’ve set incorrectly, please let me know! I guess failing that I will contact you privately and try to sort out.

    I’ve never used a GMB Review feed before, but have built heaps of WP sites. was hoping this would be easy! 🙂

    Regards
    Melanie

    Plugin Author Design Extreme

    (@designextreme)

    @melanie71 Thanks for replying.

    It may be the IP Address. Please use the IP Address listed in your Settings | Setup tab under the Google API Key. It will look like:

    In order to retrieve Google Business data, you’ll need your own API Key, with API: Places API and restrict to IP: 123.45.67.89.

    Your own IP address is not used, just the server’s IP address.

    Thread Starter melanie71

    (@melanie71)

    Yep, that’s what I’ve used:
    In order to retrieve Google Business data, you’ll need your own API Key, with API: Places API and restrict to IP: 202.59.111.155

    Plugin Author Design Extreme

    (@designextreme)

    @melanie71 It may be something else in this case… Please can you contact me privately through the Design Extreme | WordPress page?

    Thread Starter melanie71

    (@melanie71)

    Thanks! Will do, but I’m just running out the door. I’ll come back to you tomorrow.

    Regards
    Melanie

    Plugin Author Design Extreme

    (@designextreme)

    @melanie71 Please let me know if you still need assistance here or if you managed to resolve this yourself?

    Thanks,

    Noah

    Plugin Author Design Extreme

    (@designextreme)

    @melanie71 I am marking this as resolved for the time-being. If you continue to experience the issue or you can let me know what you did to resolve it, it would be appreciated.

    Thanks,

    Noah

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