• Resolved punx47

    (@punx47)


    When trying to connect the plugin via to the Google API I receive this error:

    {
        "error_message": "This IP, site or mobile application is not authorized to use this API key. Request received from IP address fda3:e722:ac3:10:71:64f5:a80:5a, with referer: https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJH3faYpQ56IkR2Ms_RgJuJe4&fields=opening_hours%2Cname%2Curl%2Cbusiness_status&key=AIzaSyAf1Kr_O1bk6oScIvqJ15hq0n4EpwE0j9Y&language=en",
        "html_attributions": [],
        "status": "REQUEST_DENIED"
    }

    The plugin instructs to use the IPv4 but the error shows IPv6. Like the previous thread regarding this error, I placed the IPv6 from the error into the restricted list, but no change. The list currently has both IPv4 and IPv6 listed. Any ideas on how to debug?

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

    (@designextreme)

    @punx47 The plugin is making its best guess as to which IP to use.

    Please change your IP in the API Key Restrictions to: fda3:e722:ac3:10:71:64f5:a80:5a

    There is never a 100% accurate way to deduce the IP for the server because it could be either IPv4 and/or IPv6. Here the Google API expects IPv6.

    I may alter the IP functionality in the future to include both IPv4 and IPv6 rather than just one.

    Thread Starter punx47

    (@punx47)

    I removed the IPv4 restriction and retained the IPv6 restriction (so the only restriction is the IPv6) and still the same error.

    I tried making the key completely unrestricted and received the same error. Which baffles me.

    Plugin Author Design Extreme

    (@designextreme)

    @punx47 Check Places API is set as a restriction and then clear the plugin’s cache.

    Thread Starter punx47

    (@punx47)

    I believe clearing the cache fixed it! Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘IPv6 API Error’ is closed to new replies.