How to Fix Google Maps API Error: ApiNotActivatedMapError


Google Maps api error: apinotactivatedmaperror

Fix Windows errors with Fortect:
Fortect can repair common computer errors by scanning your entire system for damaged or missing OS files and replacing them with the original, working versions. Optimize your PC in 3 simple steps:

  1. Download and Install Fortect on your PC
  2. Use the PC Scan feature to look up any Windows issues (including drivers)
  3. Right-click on Repair, and fix it within a few minutes.

Besides that, it helps you clean up junk files, fix stability problems, and get rid of annoying programs and malware traces.

If you’ve encountered the Google Maps API Error: ApiNotActivatedMapError, you’re not alone. This issue occurs when attempting to use the Google Maps API without first activating it in your Google Cloud Platform project.

Luckily, the fix is simple: 

How to Fix the Google Maps API Error: ApiNotActivatedMapError

Just follow these simple steps:

  1. Log into Google Cloud Console.
Google Cloud Console
  1. Go to APIs & Services, then click the Library button.
APIs & Services
  1. Search for the Google Maps API and ensure it’s enabled. If it’s not, click on the Enable button.
Google Maps API
  1. After enabling your API, you need to create credentials. Click the API & Services button, then Credentials.
credential tab
  1. Hit Create Credentials, and click API key.
Create credentials
  1. Tap on the 3 dots beside your created API key, then click Edit API key.
Edit API Key
  1. Then, under Set an application restriction, select an item and click Add under the Restrictions section.
set an application restriction

Save the changes and try loading your application to check if the error is still present. Keep in mind that you may have to do the same with all APIs like JavaScript API, Places API, etc.


Encountering the Google Maps API Error: ApiNotActivatedMapError can be frustrating, but with the right steps, you can quickly resolve it and get your application back on track.

Was this guide helpful? Let me know in the comments!

Readers help support MSpoweruser. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more

User forum

0 messages