Error using Google API
-
Hey Noah,
I just experienced a strange error.
I did the recommended set up for the Plug in with a new Project in the Google Developer’s Console, then I stumbled across the error.At first with “We’re open” then I retested it with your Rating Plugin.
Both of your Plug-ins show me the same Error message: “Error: Your Google API Key is not valid for this request and permission is denied. Please check your Google API Key.”
But in the Google Developer’s Console the new API Key shows multiple uses, but everytime it is reportet as a error in the Developer’s Console.The Rating Plugin shows this as retrieved data:
“error_message”: “This IP, site or mobile application is not authorized to use this API key. Request received from IP address 2a03:4000:30:8a40::13:5825, with referer: https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJrTLr-GyuEmsRBfy61i59si0&language=de&fields=icon%2Cname%2Cpermanently_closed%2Cformatted_address%2Cvicinity%2Crating%2Creview%2Curl%2Cuser_ratings_total&key=AIzaSyB-zEVXy9fHODQ8eKwjywlOqiulbi84i”,
“html_attributions”: [],
“status”: “REQUEST_DENIED”So I triple checked and copied the IP-Address and the Place ID.
After this I changed the Application Restriction in the Google API from IP to HTML-Website and reseved this arrow message (from the rating plugin): “error_message”: “API keys with referer restrictions cannot be used with this API.”,
“html_attributions”: [],
“status”: “REQUEST_DENIED”So is there anything I did wrong?
Thanks, Jan
- The topic ‘Error using Google API’ is closed to new replies.