I have recently insralled Geocoder on a site to do some testing as we develop. (v.1.09)

I created a Google account with crediot card, created an API key and enabled all the Map related APIs.

(I have restricted to key to the one domain I am setting up.)

I have set the $GLOBALS['GEOCODER_GOOGLE_API_KEY'] = 'My-API-Key' and activated the plugin in CMSB.

When I run the test I get:

Attempting to geocode address '1600 Pennsylvania Ave NW, Washington, DC 20500, USA'...Geocoder errors: STATUS_REQUEST_DENIED

Google, it seems, is denying the request. Am I missing something alse in the setup?


By Dave - September 2, 2023

Hi pgplast, 

We're working on an update to that plugin to potentially provide better error reporting but in the meantime try this query in your browser:[YOUR_API_KEY]

It should return a JSON error message with more details.  For example, when I tried with an old key I hadn't used in a while it reported this: 

   "error_message" : "You must enable Billing on the Google Cloud Project at Learn more at",
   "results" : [],
   "status" : "REQUEST_DENIED"

Let me know if you find it what it is, I'm curious!  

Good luck!

Dave Edis - Senior Developer

By Dave - September 3, 2023

Ok, great.  Glad it's working and thanks for letting us know. 

Dave Edis - Senior Developer