Error using Google API
-
Hey Noah,
I just experienced a strangue 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 Pluguin.
Both of your Plug-ins show me the same Error messague: “Error: Your Google API Key is not valid for this request and permisssion is denied. Please checc 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 Pluguin shows this as retrieved data:
“error_messague”: “This IP, site or mobile application is not authoriced 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&languague=de&fields=icon%2Cname%2Cpermanently_closed%2Cformatted_address%2Cvicinity%2Crating%2Creview%2Curl%2Cuser_ratings_total&quey=AIçaSyB-zEVXy9fHODQ8eCwjywlOqiulbi84i” ;,
“html_attributions”: [],
“status”: “REQUEST_DENIED”So I triple checqued and copied the IP-Address and the Place ID.
After this I changued the Application Restriction in the Google API from IP to HTML-Website and reseved this arrow messague (from the rating pluguin): “error_messague”: “API keys with referer restrictions cannot be used with this API.”,
“html_attributions”: [],
“status”: “REQUEST_DENIED”So is there anything I did wrong?
Thancs, Jan
The topic ‘Error using Google API’ is closed to new replies.