Google Maps and Mapbox Troubleshooting
Check the common problems and fixes for Google Maps and Mapbox.
Skip to...
Google Maps
1. “Something went wrong” on the map

This error typically appears when your Store Locator page URL hasn't been authorized in your Google Maps API settings. To fix it, add your store locator URL to the Google Maps API Referrer list. See this article for step-by-step instructions. Additionally, please check:
- The website domains were added correctly (including asterisks and slashes)
-
The URL in your browser matches one of the allowed domains
(for example, if you do not see the
myshopify.comURL, it most likely has not been added to the allowed domains list.) - The API key you edited matches the key added in StoreLocator → Api Key
👉 You can click Show key in the Google dashboard and compare the last characters.
2. I can’t find my Google Maps API Key
If your key isn’t listed in the dashboard:
- Check the project selector at the top and try any other listed projects
- Try signing into any other Google account that may have been used
Unfortunately, Google does not provide a way to identify which email address was used to create a specific API key.
If you’re unable to locate your key, an easy alternative is to switch to default map provider.
Your existing store locations and map settings will continue working with it.
3. "This Map May Not Work Correctly" or "For Development Purposes Only"

This warning — sometimes shown as a darkened map — indicates a billing issue with the Google Maps key connected to your app. Google requires up-to-date billing details to serve maps, even within the free tier.
Common reasons this appears:
- Your Google free trial has ended
- Your billing account hasn't been set up
- Your billing details are outdated
For a full troubleshooting guide, see this article.
4. Map API key: checking and fixing errors
When you save a Google Maps API key, R+ Store Locator checks that the key can use all the services the store locator needs. If something is missing, a message appears on the Map provider page and stays there until the problem is fixed.

Google Maps required APIs
Enable these three APIs in the Google Cloud project your key belongs to:
- Maps JavaScript API: shows the map on your store.
- Places API (New): powers the address search on the store locator. The older “Places API” is not enough; you need the one marked (New).
- Geocoding API: finds coordinates when you add or edit a location address in the app.
How to enable an API
- Open the Google Cloud Console and select the project your key belongs to.
- Go to APIs & Services → Library.
- Search for the API by name, open it and click Enable.
- Repeat for each required API.
Errors and how to fix them
“Not enabled in the project this key belongs to”
The API is turned off. Enable it as described above.
“Not allowed by the key’s API restrictions”
Your key is limited to specific APIs and this one isn’t on the list.
- Go to APIs & Services → Credentials and open your key.
- Under API restrictions, add the missing API to the list.
- Click Save.
“The key’s application restrictions block requests from your store domain”
Your key only works on certain websites, and your store isn’t one of them.
- Go to APIs & Services → Credentials and open your key.
- Under Application restrictions → Websites, add your store domain, for example
https://yourstore.com/*andhttps://www.yourstore.com/*. - Click Save.
“The API key is invalid, expired or deleted”
Copy the key again from APIs & Services → Credentials, or create a new one, and paste it into the app.
“Billing is not enabled for the project this key belongs to”
Google Maps requires a billing account, even within the free usage tier. Go to Billing in the Google Cloud Console and link a billing account to the project.
“Couldn’t be verified: the key’s website restrictions don’t allow the app domain” (warning)
The map on your store may work, but the map in the app admin won’t, and we can’t fully check the key. Add the app domain shown in the message to the key’s Application restrictions → Websites list.
“Can’t be used with a key restricted to websites” (warning, Geocoding API)
Google doesn’t allow the Geocoding API with keys that are restricted to websites. Your store map works normally, but the app can’t find coordinates automatically when you save a location address. Set the location manually on the map when you edit it.
After fixing
Changes in Google Cloud can take a few minutes to apply. After that, click Check again in the message on the Map provider page. If everything is set up correctly, the message disappears.
“We couldn’t verify this API right now” means the check itself failed, for example because of a temporary network issue. Wait a moment and click Check again.
Still seeing errors? Contact us through the chat widget in the app and we’ll help you set up your key.
Mapbox
-
Map shows up gray, with no roads or imagery behind the pins
This almost always means Mapbox is rejecting the token. Check the following, in order:
- The token was copied in full, with no missing characters or extra spaces at either end
- You copied a token that starts with
pk.— that's a public token. A token starting withsk.is a secret token and won't work for displaying a map in the browser - The domain in your token's URL restrictions exactly matches what's in your browser's address bar when the map page is open (no
http://prefix, no trailing path, no typos) - The token hasn't been deleted or regenerated in the Mapbox dashboard since you added it
-
Browser console shows a 403 error when loading the map
A 403 from Mapbox means the token was recognized but rejected — usually one of two reasons:
- The request came from a domain that isn't in the token's URL restriction list
- The token is missing a required scope (public tokens should have all public scopes enabled by default, so this is rare unless scopes were edited manually)
-
You just added or changed a URL restriction, but it still doesn't work
Browsers and Mapbox's own infrastructure can cache the previous (denied) response for a short time. Try loading the map page in an incognito/private window, or from a different device, before assuming the token itself is the problem.
-
Map fails to load only through the theme editor or a preview link, but works on the live site
This is usually a URL restriction issue, not a broken token — theme preview and editor URLs often come from a different domain than your live storefront. If you need the map to render in those previews too, add shopifypreview.com and your myshopify.com domain to the token's URL restrictions, as described in step 7 above.
-
Map area is completely blank, not even gray
This is less common and usually isn't a token problem at all — check your browser console for a Content Security Policy (CSP) error mentioning a blocked image or connection. Some themes or third-party CSP apps restrict which external domains can load resources; if that's the case, *.mapbox.com needs to be allowed.
If none of the above resolves it, generate a brand-new token in Mapbox (rather than editing the existing one) and update it in the app — this rules out any issue with the token itself.
-
Map fails to load only through the theme editor or a preview link, but works on the live site
When you save a Mapbox API key, R+ Store Locator checks that the key can use all the services the store locator needs. If something is missing, a message appears on the Map provider page and stays there until the problem is fixed.

Mapbox requirements
- Use a public token (starts with
pk.). Secret tokens (sk.) don’t work for maps on a website. - The token needs the default public scopes: styles:read, styles:tiles, fonts:read. Geocoding is available to all public tokens.
You can manage tokens on the Mapbox Access tokens page.
Errors and how to fix them
“This is a secret token (sk.*)”
Copy your Default public token, or create a new public token, and paste it into the app.
“The token has no access”
- Open the token on the Access tokens page.
- Make sure all default public scopes are selected.
- If URL restrictions are set, add your store domain, for example
https://yourstore.com. - Save the token.
“The API key is invalid, expired or deleted”
Copy the token again from your Mapbox account, or create a new one, and paste it into the app.
After fixing
Changes in Mapbox can take a few minutes to apply. After that, click Check again in the message on the Map provider page. If everything is set up correctly, the message disappears.
“We couldn’t verify this API right now” means the check itself failed, for example because of a temporary network issue. Wait a moment and click Check again.
Do you need help?
If you have any questions or run into issues, please contact us — we’re happy to help.