Knowledge base / Billing & quota

Fix RefererDeniedMapError on Google Maps

Google blocked your application for not complying with the Google Maps Platform Terms of Service, after sending email notices first. It looks like a referrer problem from the name, but changing key restrictions won't help. You have to fix the compliance issue and appeal.

How to tell this is your problem

  • The console shows RefererDeniedMapError, not RefererNotAllowedMapError. The names are close. The causes are completely different.
  • Adding your domain to the key's website restrictions changes nothing.
  • Someone at your organisation received emails from Google about Maps Platform terms compliance in the weeks before the map stopped.
  • The block follows the site: a new key on the same site may hit the same error.

This is what the console shows:

Google Maps JavaScript API error: RefererDeniedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-denied-map-error

If you see RefererNotAllowedMapError instead, it's a key restriction setting and takes minutes to fix. Use the referrer restriction guide.

Why it happens

Google's error reference says the application was blocked for non-compliance with the Google Maps Platform Terms of Service, following several email notifications. So the block didn't come out of nowhere. Google wrote first, and the emails usually say what the problem is.

Google's appeal form names attribution as the most common compliance issue. The terms require you to display all attribution Google provides through the services and not to modify, obscure or delete it. That covers the Google logo and the copyright and data notices on the map. Typical ways sites break this:

  • CSS that hides the logo or copyright text. Custom styles that target the map's bottom bar to make it look “cleaner”.
  • Overlays covering the bottom of the map. A sticky footer, cookie banner, info panel or gradient laid over the attribution.
  • A map cropped too small, or clipped with overflow: hidden so the attribution falls outside the visible area.
  • Screenshots of Google Maps used as images with the branding cropped off.

The terms also restrict other uses, such as scraping or caching Google Maps content outside what the terms allow, and showing Google Maps content alongside a non-Google map. If the emails mention one of these, that is the issue to fix.

The fix, step by step

  1. 01Find the emails. Search the inboxes of project owners and billing contacts for messages from Google about Maps Platform compliance. Check spam. The notices are your best evidence of what Google saw.
  2. 02Read the Google Maps Platform Terms of Service and Acceptable Use Policy. The appeal form asks you to review both before you submit.
  3. 03Check attribution on every page with a map. At desktop and mobile widths, the Google logo and copyright text should be clearly visible on the map. Remove any CSS that hides or restyles them, and move overlays away from the map's edges.
  4. 04Fix any other issue the emails raise, for example stopping a script that stores Google results in your own database.
  5. 05Submit the Maps API abuse appeal form at support.google.com/cloud/contact/maps_tos_appeal. Include a contact email, the affected domain URLs, the exact error message and a short description of what you changed. The form also asks for your Google Maps Platform project number.
  6. 06Wait for the email reply. Google says responses arrive by email within a few business days. Customers with Enhanced Support can raise a support case instead.
Check your CSS before you appeal

Search your stylesheets for rules that target the map's internal elements. Selectors containing gm-style, or img[src*="google"] with display: none, are common culprits in themes and copied snippets. Delete them, clear caches, and check the live page shows the logo before you submit the form.

WordPress and page builders

Some themes and map plugins ship “clean map” CSS that hides the Google branding. Others put a full-width info box over the bottom of the map. Check the plugin's style options, then the theme's custom CSS box, then any child theme stylesheet. If a plugin has no way to stop hiding attribution, replace it.

What not to do

  • Don't keep swapping in new keys or projects. The block is tied to your application, and the underlying issue is still there.
  • Don't remove the key's website restrictions to “unblock” it. That doesn't affect this error and leaves the key open to misuse.
  • Don't appeal before you have fixed the issue. Say what you changed and where.

Confirm it is fixed

After Google confirms the appeal, load the page in a private window with the console open. The error should be gone and the map should load with the Google logo and copyright visible.

Run a scan to confirm from a clean session. Then monitor the page, so you hear quickly if a theme update reintroduces CSS that hides the attribution.

Common questions

What is the difference between RefererDeniedMapError and RefererNotAllowedMapError?

RefererNotAllowedMapError is a key setting: your domain isn't on the key's allowed list. RefererDeniedMapError means Google blocked the application for terms non-compliance. Only an appeal fixes it.

How long does a Maps Platform terms appeal take?

Google says responses arrive by email within a few business days. Fixing the issue before you submit avoids a second round.

Can I hide the Google logo on my map?

No. The terms require you to display Google's attribution and not to obscure or remove it. Hiding it is the most common reason Google gives for blocks like this.

I never got a warning email. What now?

Check spam and the inboxes of every project owner and billing contact. If there is still nothing, say so in the appeal and describe what the site does with the map.

Check whether this is your error

A scan tells you in about twelve seconds, from a clean session.

Related articles