Google Maps JavaScript API error: ExpiredKeyMapError - google-maps

I'm getting the error on the website Google API, so why happening is api not free or whats wrong even I enable the google javascript. Google Maps JavaScript API error: ExpiredKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#expired-key-map-error

Based on the doc given on the error message, you usually get ExpiredKeyMapError when the API key you are using is not recognized by the system or already expired.
I suggest generating a new API key and using that new API key in your implementation instead. You can check the youtube tutorial - How to generate and restrict API keys for Google Maps Platform
If the error still persists, I suggest that you file a support case to Google Maps Support for further assistance.

Related

"Google Maps Platform rejected your request" error when trying to use Google Map Embed API

Just sharing because I couldn't find any information on this error, and I wanted the solution to be out there.
I was trying to embed a map on my website using Google Map Embed API, but I kept getting the following error, no matter what I did with my App permissions:
Google Maps Platform rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
My map src url was structured like so:
https://www.google.com/maps/embed/v1/place?q=Washington,DC&key=[API Key]
and it seemed to match the guidelines, so I couldn't figure out what was wrong.
I can't find this anywhere in the documentation, but it's this simple - the key params is supposed to be first.
Just turn this:
https://www.google.com/maps/embed/v1/place?q=Washington,DC&key=[API Key]
into this:
https://www.google.com/maps/embed/v1/place?key=[API KEY]&q=Washington,DC
and now it works.

How can I reactivate the Google API key?

We've been sending addresses to Google for a while and then getting the coordinates from Google back and storing them.
This won´t work anymore.
From Google, we get the following error message:
You must use an API key to authenticate each request to
Google Maps Platform APIs. For additional information, please refer to
http://g.co/dev/maps-no-account
What must I change in the API settings, so it works again?
Welcome to the community!
You need to add a Billing Account, Maps API is not for free anymore.
https://cloud.google.com/maps-platform/

The following JavaScript with google maps error appeared: NotLoadingAPIFromGoogleMapsError

Google Maps JavaScript API error: NotLoadingAPIFromGoogleMapsError
Any thoughts?
This error message:
Google Maps JavaScript API error: NotLoadingAPIFromGoogleMapsError
is a little misleading.
The description from the documentation:
NotLoadingAPIFromGoogleMapError
The Maps JavaScript API must be downloaded directly from Google's servers.
The script element that loads the Maps JavaScript API is not being included correctly on your page. In order for the API to work correctly, it must be loaded directly from https://maps.googleapis.com.
See Loading the Maps JavaScript API.
It also occurs when using the original location for the google maps API (which worked for years):
http://maps.google.com/maps/api/js
Changing that to (per the documentation link above):
https://maps.googleapis.com/maps/api/js
fixes the error.

Google Maps API error: Google Maps API error: ApiNotActivatedMapError

I am trying to use google maps distance matrix api in my project to get distance between 2 places. I have also enable this api in google developer console. But I am continuously getting error ApiNotActivatedMapError.
I am using sample code provided by google as distance-matrix .
When you use a library or service via the Maps-Javascript-API, and use a key, you only need to activate the Google Maps JavaScript API .
When you get the particular error with the linked example you obviously didn't activate the Google Maps JavaScript API for your project.
Update:
since June 22, 2016 you need also to activate the related API(Webservice) for new applications when you want to use the following features:
geocoding service
directions service
distanceMatrix service
elevation service
places library
Old question.. But.. I had n similar issue recently with a ApiNotActivatedMapError using geocoding but Konerak's comment helped me get to this really nice post.
Basically, you can activate your API's here: https://console.developers.google.com/apis/library
Activating Google Maps JavaScript API along with the already activate Geocoding API solved my problem.
Hope it helps someone in a similar position :)
This link is enabled API https://console.developers.google.com/apis/library. For default emulator and in iOS its disabled, but in this console you can active this API.

Google does not permit the use of the Maps API for this application

Good day.
Now i create api Key for browser apps (with referers).
Referers: *.invait.ru/*
But on site i get error:
Google does not permit the use of the Maps API for this application.
API Google key provided is invalid or do not have permission to use it
with Google Maps JavaScript API v3 on this site.
Screenshot:
Tell me please why i get it error and how remove error and use google map api v3?
For domain use Referers: invait.ru/*