website logo
Go back to WP Go Maps
⌘K
Atlas Novus (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Legacy (v9)
πŸ‘Initial Setup
πŸ‘First-time users
πŸ‘Map Features
πŸ‘Integrations
πŸ‘Importing and Exporting Data
πŸ‘Troubleshooting
πŸ‘Frequently asked questions
Integrations
Developers
Hooks
Docs powered byΒ archbeeΒ 
4min

"Geocode failed (Request denied)" error

In certain cases when performing bulk marker imports and making use of the geocoding option (Find Addresses) the importer may report the following error: Geocode failed (Request denied) API keys with referrer restrictions cannot be used with this API.

Geocode failed error
Geocode failed error
ο»Ώ

In this case an additional Google Maps API key is required to complete the import. The Additional key requires IP restriction instead of the referrer restriction that is likely in place for the Primary API key

To Create an additional API key, please navigate to https://console.cloud.google.com/apis/credentials (preferably using the same account that the original API key was created with, as this will allow you to create the key in the same Project, retaining the existing Project configuration)

Check that correct API project is selected. (this ensures the existing enabled API services and billing information are retained)

If you are not using the same API Project as the Primary API key - please ensure you enable the Geocoding API for project this Key is created under.

Select the " + CREATE CREDENTIALS" button, and then select "API Key"

Check selected project and create credentials
Check selected project and create credentials
ο»Ώ

Once the key is created, select the "edit API Key" URL on the modal

edit API Key
edit API Key
ο»Ώ

Select the "IP addresses" option in the Application Restriction section and then the "ADD AN ITEM" button

Select and configure IP Address restriction
Select and configure IP Address restriction
ο»Ώ

Enter the IP address of the website/server performing the upload and select done. (You can check the IP address of your website using dnschecker.org)

Once setup, you then copy this additional API key and navigate to

WP Go Maps -> Settings -> Advanced Settings

Paste it in the alternative API key field and select save.

If done correctly, the Google Maps API system should allow the Geocoding process to continue during your marker import.

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
My Map is Not Showing On My Website
Docs powered byΒ archbeeΒ