google maps java error along with inability to create a ticket
This topic has 4 replies, 2 voices, and was last updated 1 months, 4 weeks ago ago by Andrew Mitchell
google maps java error along with inability to create a ticket
Hello, nebcreative,
This is a common error: RefererNotAllowedMapError. It occurs because your Google Maps JavaScript API key is being called from a page that is not listed among the allowed referrers in your Google Cloud Console.
Please follow these steps to resolve the issue:
1. Open Google Cloud Console → APIs & Services → Credentials, and locate your API key (the one used in ?key=).
2. In this key’s settings:
• Go to Key restrictions → Application restrictions → HTTP referrers (web sites)
• Add domain patterns instead of full URLs. For your case, please include at least the following:
https://nebcreative.com/*
https://www.nebcreative.com/*
http://nebcreative.com/*
http://www.nebcreative.com/*
3. In the same key settings, scroll down to API restrictions: enable “Restrict key” and keep at least Maps JavaScript API (and any others you actually use, such as Geocoding, Places, etc.).
4. Save the changes, wait 1–2 minutes, clear your cache/Cloudflare, and reload the page.
Best regards,
8Theme Team
all those url are or were entered this is the error code
QMIGRATE: Migrate is installed, version 3.4.1
js?key=AIzaSyB1PP6_OUW52qksvvJsBDjK_N4z0_9CkBs&language=en&ver=6.8.3:314 Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading
Cda @ js?key=AIzaSyB1PP6_OUW52qksvvJsBDjK_N4z0_9CkBs&language=en&ver=6.8.3:314Understand this warning
js?key=AIzaSyB1PP6_OUW52qksvvJsBDjK_N4z0_9CkBs&language=en&ver=6.8.3:188 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://nebcreative.com/nodrama/contact-us/
_.xm @ js?key=AIzaSyB1PP6_OUW52qksvvJsBDjK_N4z0_9CkBs&language=en&ver=6.8.3:188Understand this error
/favicon.ico:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)Understand this error
Hello, nebcreative,
Thank you for your message.
The error you are seeing indicates that the Google Maps JavaScript API key is restricted and the current site URL is not authorized to use it. Please check your Google Cloud Console and ensure that the domain https://nebcreative.com/nodrama/contact-us/ is added to the list of allowed referrers for your API key.
Additionally, the warning about loading the API without the “async” attribute is only a performance recommendation and does not affect functionality. The “500 Internal Server Error” for the favicon may be related to your server configuration and can be resolved by verifying that the favicon file exists and is accessible.
If you need further assistance, please let us know.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up