How to Fix Google Maps API Error: ApiNotActivatedMapError

Reading time icon 2 min. read


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

Google Maps api error: apinotactivatedmaperror

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!

User forum

0 messages