This question already has answers here:
Google Maps JavaScript API RefererNotAllowedMapError
(32 answers)
Closed 4 years ago.
We have a new website(say www.website.com) on Server B which is not live yet, which is using google maps on a page.
The old version of the website is on Server A is not using google maps.
I have created a browser key with domain name - www.website.com and in my hosts file set the IP address of Server B with www.website.com and tried to test google maps, but it is not working.
This is the error I am getting -
"Google Maps API error: Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://www.website.com/page-that-has-google-map
Any suggestions on how to fix this issue? I want to test the google maps page on Server B and make sure the page is working fine before making the website on Server B live.
TIA
the website name is www.website.com, but I added website.com, so when I added *.website.com/* to browser key API, that fixed the issue.
Related
This question already has answers here:
Google Maps shows "For development purposes only"
(12 answers)
Closed 2 years ago.
When I try to use Maps JavaScript API I get this error:
"for development purpose only"
screenshot
You must enable Billing on the Google Cloud Project at
https://console.cloud.google.cjs?key=ZIzaSyBYpzfnPmdcSXHlV2Py8glHs4SQhoRE9qg&callback=createMap:55 om/project/_/billing/enable
Learn more at https://developers.google.com/maps/gmp-get-started
enter image description here
What can i do ?
Google is not providing free API access anymore.
You have not enabled billing on your project which is causing this error. You must enable Billing on the Google Cloud Project.
On following link Search for : BillingNotEnabledMapError
Error Briefing : https://developers.google.com/maps/documentation/javascript/error-messages
You need to follow these steps for your Google API project :
Get Started with Google Maps Platform : https://developers.google.com/maps/gmp-get-started
I am unable to implement google maps on my website, despite generating an API key for it and configuring it correctly on the website.
http://josebaattard.com/about/
the console tells you the error:
Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://josebaattard.com/about/
You have limited your API-Access to an certain url and this one is not allowed.
I have created a website and Google Maps is failing me to locate the company.
I have generated a KEY API in the Google console and I have introduced it in WordPress through the "Google maps API Key" plugin.
The case is that the map is seen for 1 second, but then it stops showing and the following error message appears: "An error has occurred, this page has not loaded Google Maps correctly." Discover the technical details of the problem in the javascript console ".
The web in question is: https://arsaiguarderia.com/
The map is on the home screen at the bottom and on the contact screen.
I see this:
js?key=A.....Y&ver=3.4:50 Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: https://arsaiguarderia.com/
Maybe you need to go to your Google Cloud Platform > API project > API > Credentials > API key name. Then set the HTTP referrers restriction to your web site name.
Looks like its a problem of http referers according to the javascript console, could you make sure your site is not blocked in the google console? Edit your api key and look for application restrictions
This question already has answers here:
The key provided is not a valid Google API Key
(5 answers)
Closed 8 years ago.
I copy-pasted an example from the Google Maps Get Started page
into Notepad and include my newly created API key.
When I run it, it gives me the error:
google disable use of the map API for this application. The provided key is not valid google API key
How can I fix this?
What API version are you using v2 or v3 ? A key for V3 is not necessary to start.
Perhaps did you mix a v2 key with a v3 key or vice-versa ?
Please paste / copy the code you use.
This question already has answers here:
Google has disabled the use of the maps API for this application [closed]
(2 answers)
Closed 10 years ago.
My website (http://foomap.de/), which features a fullscreen map via Google Maps API v3, suddenly stopped working today. Instead it presents the error message
"Google has disabled the use of Maps API for this application. See terms of Service for more information: http://www.google.com/help/terms_maps.html"
I'm neither aware of any violations of google's terms of service nor did the website reach any usage limits (according to Google's API console).
Any ideas what is wrong?
assuming there are no other problems, you have a daily and per-second limit. You may be over quota.
Looks to be a google error on their end...
http://www.google.com.au/about/jobs/locations/sydney/
For now, remove the key parameter as its not a mandatory:
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?sensor=SET_TO_TRUE_OR_FALSE">
</script>
It worked for me, but i still don't know why whats the problem.. I believe Google is doing some changes...