Geocoder isn't auto-generate latitude and longitude coordinates

By Zicky - December 31, 2019

I also tried the "Geocode Tables" (Admin > Plugins > Geocode Tables, and selected the table which needs to be
updated.) but got the following message: Error: STATUS_REQUEST_DENIED

No joy. 

Zicky

By Zicky - December 31, 2019

I've tacked down this issue I am having to having something to do with adding API Key Restrictions.

Google list the following as a suggestion on how to restrict the API to your website:

Any subdomain or path URLs in a single domain, using wildcard asterisks (*): *.example.com/*

This wasn't working however, and my website would not auto generate the latitude and longitude when I saved my record.

I tried a bunch of scenarios such as those listed below:

The Geocoder readme.txt file says to use:

  • example.com

I tried that also, but still wasn't able to get Geocoder to work.

The only way I can get Geocoder to work is by removing all restrictions on the "Application Restrictions" and "API Restrictions". Once I do this, it works fine, but I'd like to add restrictions to protect the API Key from being jacked. 

Anyone have any suggestions on what to try, in order to add restrictions?

Thanks Zicky

By daniel - January 2, 2020

Hi Zicky,

Thanks for following up with more details - you've managed to isolate the cause of the issue which is half the battle!

It looks like you've already tried a lot of the obvious domain/wildcard combinations, so I think to be of any help I'll need to know the specific site URL you're trying to use. If you'd prefer to not share that publicly on the forum, feel free to send it in a support request and I'll see if I can offer any other suggestions: https://www.interactivetools.com/support/request/

Thanks,
Daniel

Daniel
PHP Programmer
interactivetools.com

By Zicky - January 2, 2020

Hey Daniel,

I just submitted a support ticket.

Thanks, Zicky