RefererNotAllowedMapError API Origin: Application & API OSI layer 7 · Application Last updated 13 Oct 2026

Google Maps: This API project is not authorized to use this API / RefererNotAllowedMapError / ApiNotActivatedMapError

The Maps API key isn’t allowed for this site/API — the API isn’t enabled, the referrer restriction doesn’t include your domain, or billing is off.

Exact message you may see This API project is not authorized to use this API
Seen on: REST API

Meaning

Each Maps API (Maps JavaScript, Places, Geocoding) must be enabled in the key’s project, billing must be active, and HTTP referrer restrictions must match the page URL (with wildcards).

Common causes

  • Specific API not enabled (ApiNotActivatedMapError)
  • Referrer restriction doesn’t match the domain (RefererNotAllowedMapError)
  • Billing not enabled
  • API restrictions on the key exclude the API

⚡ Quick fix

  1. Enable the needed API in Google Cloud
  2. Add https://example.com/* (and subdomains) to referrers
  3. Enable billing; check key’s API restrictions

Detailed fix by platform

Google Cloud

  1. bash
    # APIs & Services → Library → enable "Maps JavaScript API", "Places API"
    # Credentials → API key → Website restrictions: https://*.example.com/*

How to diagnose

  1. Console — Exact error name in browser console
  2. APIs — Enabled list
  3. Restrictions — Referrers and APIs

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

concurrent_requests_limit — API Error: Too many concurrent requests (concurrency limit reached) (API)concurrent_requests_l…CORS — CORS Error: No 'Access-Control-Allow-Origin' header is present (API)CORSfeature_not_enabled — API Error: Feature not enabled for this account (feature_not_enabled / not available on your plan) (API)feature_not_enabledinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyjob not found — API Error: Job / operation not found or expired (async task ID unknown) (API)job not foundNo API key provided — Stripe: You did not provide an API key. You need to provide your API key in the Authorization header (API)No API key providedtest/live mismatch — API Error: a similar object exists in test mode, but a live mode key was used (API)test/live mismatchRefererNo…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.