Skip to content

Instantly share code, notes, and snippets.

@RyanOkamuro
Created August 17, 2018 03:02
Show Gist options
  • Save RyanOkamuro/3829cde1b7db51a739c7ca5f11055c54 to your computer and use it in GitHub Desktop.
Save RyanOkamuro/3829cde1b7db51a739c7ca5f11055c54 to your computer and use it in GitHub Desktop.
Google Maps API Key
https://maps.googleapis.com/maps/api/js?key=AIzaSyAOVYRIgupAurZup5y1PRh8Ismb1A3lLao&libraries=places&callback=initMap
@migtibincoski
Copy link

Google Maps API response: { error_message: 'Requests to this API must be over SSL. Load the API with "https://" instead of "http://".', results: [], status: 'REQUEST_DENIED' } please help me with an api key

The api key provided in this gist no longer works, you will have to create your own. Regarding your error, you loaded the api key using http://, but the correct one is https://, for SSL.

Thanks, @Antoh3!

@MamdMehrabi
Copy link

Thanks a lot

@jayvaghani113
Copy link

Thanks bro

@Venkateswararaobhimasingi

Error fetching location: {'error': {'code': 403, 'message': 'Geolocation API has not been used in project 778648361568 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/geolocation.googleapis.com/overview?project=778648361568 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.', 'errors': [{'message': 'Geolocation API has not been used in project 778648361568 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/geolocation.googleapis.com/overview?project=778648361568 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.', 'domain': 'usageLimits', 'reason': 'accessNotConfigured', 'extendedHelp': 'https://console.developers.google.com/'}], 'status': 'PERMISSION_DENIED', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'SERVICE_DISABLED', 'domain': 'googleapis.com', 'metadata': {'activationUrl': 'https://console.developers.google.com/apis/api/geolocation.googleapis.com/overview?project=778648361568', 'serviceTitle': 'Geolocation API', 'consumer': 'projects/778648361568', 'containerInfo': '778648361568', 'service': 'geolocation.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'Geolocation API has not been used in project 778648361568 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/geolocation.googleapis.com/overview?project=778648361568 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.'}, {'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developers console API activation', 'url': 'https://console.developers.google.com/apis/api/geolocation.googleapis.com/overview?project=778648361568'}]}]}} i got this error

@Venkateswararaobhimasingi
Copy link

Venkateswararaobhimasingi commented Mar 14, 2025

anyone pls give another api which enable the Geolocation API

@dilitimor
Copy link

thank you so much

@mursaleen-zenkoders
Copy link

image
I am gettign this error

@XuanHongV
Copy link

plz give me api key

@Jawwad-codes
Copy link

any one have working api key please send

@FridayCandour
Copy link

you can get your own api keys from your console project.

@shaswatbhai12
Copy link

its works thanks bro

@Ganaw69
Copy link

Ganaw69 commented Apr 9, 2025

my api its now working because it needs billing account can i Get one guys ?

@nqmgaming
Copy link

yeah, it work, thank you

@jyothisreevidya
Copy link

can i get it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment