Posts

Showing posts from November 25, 2018

This IP, site or mobile application is not authorized to use this API key

Image
up vote 71 down vote favorite 18 I am using https://maps.googleapis.com/maps/api/geocode/json? link with server key and user ip to find the latitude and longitude of any address , when i m trying i am finding the error as I have a server access key from google and I have put my server's IP address in the their white list. The URL that I am trying to access via PHP CURL is: https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true&key=XXXXXXXXXXXX The result that I am getting: Array ([error_message] => This IP, site or mobile application is not authorized to use this API key. [results] => Array ( ) [status] => REQUEST_DENIED) Is there anything that I need to configure. The geocoding api is also switched on. ...