Skip to main content

\"RefererNotAllowedMapError\" — How to Fix

Fix the Google Maps RefererNotAllowedMapError or 'API keys with referer restrictions cannot be used with this API' error.

Updated over a week ago

The "RefererNotAllowedMapError" means your website's domain isn't in the allowed referrer list for your Google Maps API key. Google is blocking the request because it doesn't recognize where it's coming from.

How to fix it

  1. Click on your API key

  2. Under Application Restrictions, check that HTTP referrers is selected

  3. Add these referrers (if not already there):

  • *yourdomain.com/* (your actual domain)

  • *www.yourdomain.com/* (the www version)

  • *storerocket.io/*

  • *.storerocket.io/* (note the dot before storerocket)

  1. Click Save

Changes can take a few minutes to take effect.

Common mistakes

  • Forgetting *.storerocket.io/* (with the dot). You need BOTH *storerocket.io/* and *.storerocket.io/*.

  • Not including the www version of your domain.

  • Shopify users need to also add *admin.shopify.com/*.

  • Webflow users testing on a .webflow.io subdomain need to add *webflow.io/*.

For the full API key setup, see our Google Maps API guide.

Still stuck? Hit us up on live chat.

Did this answer your question?