Dear,

I used to have this issue:
The location "My location" could not be resolved and was ignored.
Exception: Google API returned bad status.\nStatus: REQUEST_DENIED in geocoder_google() (line 124 of ....)

This was due to having a View with "exposed / or not" geofield filter.
This geofield used the "Google Geocder" to geocode the value entered in the field.

Now this gave the errors above, because all of those request need to run over HTTPS (as said by Google)

Thus patch attached :-)

Kind regards

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mschudders created an issue. See original summary.

pyxio’s picture

you are awesome. thank you!!

helmo’s picture

#2536624: Improvements to geocoder_google() data and error handling helped me in the end to track down the cause of this REQUEST_DENIED.

Pol’s picture

Assigned: Unassigned » Pol
veronicaSeveryn’s picture

I think this patch is not enough here or may not be necessary.

Geocoder module provides plugin configuration settings, for example, if you're using it with Geofield (you can configure it under Manage Fields):
geocoder settings

If all requests have to be done through HTTPS, then geocoder plugin settings form will probably need to be cleaned up, too, to remove that HTTPS option.

  • Pol committed 62f81aa on 7.x-1.x authored by Mschudders
    Issue #2820678 by Mschudders, veronicaSeveryn: Views with Google...
Pol’s picture

Status: Active » Fixed

Fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.