• Resolved radeknavare

    (@radeknavare)


    Hi,

    Every time I login to admin and navigate to plugin settings I get “Your Google API Key is not valid for this request and permission is denied.” message. Billing on Goolge is active and I am restricting API key access to the given IP address in the plugin. Also Places API is enabled.

    Right now I am manually fetching new reviews.

    Also, one more thing I observed is that the reviews are not sorted according to date even though when correct sorting option (Date Descending New->Old) is used.

    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)

    @radeknavare Thanks for getting in touch.

    • Google API Key is not valid: Please check the error message in the Retrieved Data tab – does it show an IP that differs from the one that you’ve used? Also, please ensure that Places API is set, Google Maps API are commonly used in error.
    • Sorting: This will use the sorting set by the parameter in the shortcode if this exists and then the default sorting in the Setup tab. Also, some caching will result in an older version of the page appearing so this may need clearing to view the latest version. Can you send me the shortcode that you’re using here?
    Plugin Author Design Extreme

    (@designextreme)

    @radeknavare Did you manage to resolve the issue with the permission denied error?

    Also, I looked into the sorting issue for you and found there was a newly introduced problem here when I added the random cached shuffle. This is now resolved and the front-end default sorting will be applied properly once more.

    I am marking this as resolved for the time-being.

    Thread Starter radeknavare

    (@radeknavare)

    Hi,

    Very sorry for late response, was caught up in personal emergency.

    • Google API Key is not valid – Yes the IP in the retrieved tab is different from the one mentioned in the setup tab. I have no idea why the IP differs as I had copied the IP from the setup tab while configuring google places API. I will add the IP mentioned in the setup tab again and re-check for the issue if it exists.
    • Thanks for the sorting issue resolution. Will check it.
    Plugin Author Design Extreme

    (@designextreme)

    @radeknavare The IP Address you need to use is listed in the Retrieved Data and not in the Setup tab. Once Google recognises the IP address as matching one within the restrictions, you’ll be on your way.

    The reason for this: sometimes the perceived IP is IPv4 rather than IPv6 (or vice-versa).

    I have the same problem – have set up billing, and it is a places api.
    GCP says “remember to configure the oauth consent screen for your app”
    is that necessary and if so what info do you have to enter?
    Carl

    Plugin Author Design Extreme

    (@designextreme)

    @carlmyers Did you check that the IP in Retrieved Data matches the restriction in the API Key?

    Plugin Author Design Extreme

    (@designextreme)

    @carlmyers The consent screen is not required for this to work.

    Thanks
    I set the restriction to the op of my webserver – is that not right?
    I can’t see what you mean by “the op in retrieved data”?
    Carl

    Plugin Author Design Extreme

    (@designextreme)

    @carlmyers Please check the Retrieved Data tab, is there a specific error in there with a suggested IP address?

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.