What caused the error ‘This page didn’t load google maps correctly. See the javascript console for technical details’?
Nowadays, many websites use Google Maps to make the information clearer and more visual. However, sometimes you may see the error This page didn’t load google maps correctly. See the javascript console for technical details. What happened?
This error can appear for several reasons. One of the most common is a missing API key. Before June 22nd, 2016, Google allowed users to use Google Maps without an API key. That means you can integrate or embed Google Maps into your site with a blank API key. However, from June 22nd, 2016 onwards, the Maps Terms of Use changed, and you need an API key to use Google Maps. If not, the error will occur on your site.
So, in today’s blog, we would like to show you how to deal with the error This page didn’t load google maps correctly. See the javascript console for technical details. Let’s start!

How to solve the error ‘This page didn’t load google maps correctly. See the javascript console for technical details’?
If you are not paying for a Google API key and just want to display a map on your site for free, you can learn how to add Google Map to WordPress and add Google Map to Joomla 4 articles.
Now, the first step is to determine what type of error appears on your site. To do that, you need to open the JavaScript console to see the error. Simply enter the key combination below:
- Chrome: Ctrl + Shift + J (Windows and Linux) or CMD + Opt + J (Mac OS).
- Safari: CMD + Opt + C.
- Firefox: Ctrl + Shift + K (Windows and Linux) or CMD + Opt + K (Mac OS).
The error ‘This page didn’t load google maps correctly. See the javascript console for technical details’ has 4 error types:
- Google Maps API Error: MissingKeyMapError.
- Google Maps API Error: RefererNotAllowedMapError.
- Google Maps API Error: ApiNotActivatedMapError.
- Google Maps API Error: InvalidKeyMapError.
Each type will have a different solution, so once you know which error your site has, move on to the matching method below.
MissingKeyMapError
This error occurs when you don’t use any API key. Thus, you need to create and get a Google Maps API key.

Let’s follow the steps:
- Access Google Maps Platform -> Click on the Get Started.
- Fill out some information -> Create a project.
- Add payment method -> Select the products -> Choose Maps.
- Click Enable -> Answer a short survey.
- A popup with the generated API key will appear -> Copy it -> click Done.
- Open Geolocation API -> Press Enable.
- Choose Credentials on the menu -> Click Maps API Key.
- Select HTTP Referrers in the Application restrictions section.
- In the Website restrictions section, use Add an item to add two entries, including yourname.com/* and *.yourname.com/* (remember to change yourname.com into your domain).
- Click the save button -> Use the API key for the Google Maps of your site.
RefererNotAllowedMapError
This is the most common of the 4 Google Maps API error types. It means something is wrong with the application restrictions, so you need to check them and make sure everything is correct.

To tackle this error, simply follow these steps:
- Open Credentials Console.
- Find the API key’s name -> Click to edit the setting.
- In the Application restrictions section, check that you have chosen HTTP referrers (websites) and added both entries: yourname.com/* and *.yourname.com/* (make sure to replace yourname.com with your domain).
- Click Save and wait a few minutes -> Refresh the site to check the result.
ApiNotActivatedMapError
This error happens because you have not enabled the API you are using. Thus, all you need to do is enable it.

To solve this error, follow these steps:
- Access Library Console.
- Click on View All to see all APIs -> Find the API you are utilizing -> Press it.
- Click on the Enable button at the top of the screen.
InvalidKeyMapError
This error means that the API key you are using is wrong. So, simply copy the API key you created before and paste it into your site.

To solve this problem, you just need to:
- Go to Credentials Console.
- Copy the API Key.
- Open your back-end site and paste the key -> Save.
- Wait a few minutes -> Refresh the site and see the result.
Note: If the error ‘This page didn’t load google maps correctly. See the javascript console for technical details’ still appears after you follow the steps above for one of the 4 error types, keep the following in mind:
- Wait at least five minutes for all changes to take effect.
- Clear the cache.
- Check the console as well as each step of the solution again to make sure you followed the right process.
Closing Thoughts
In conclusion, we have shared with you the methods to address the error ‘This page didn’t load google maps correctly. See the javascript console for technical details’. We hope that you can deal with this issue quickly and smoothly. If you have any queries, don’t hesitate to leave your comment below.
Last but not least, we are offering both free WordPress Themes and Joomla 4 Templates. All of them are responsive and SEO-friendly, so if you want a great one, have a look at the collection. Thanks for reading, and we hope you enjoyed the blog.



