eileenmcnaughton / org.wikimedia.geocoder

Geocoder for CiviCRM
Other
6 stars 17 forks source link

HTTP 500 Server Error when using an Address on OSM #61

Open savionlee opened 2 months ago

savionlee commented 2 months ago

Seems we can send a zip code through and get coordinates, but anything more to the search string returns an error.

Steps to reproduce:

  1. go to API 4 Debugger
  2. CiviCRM APIv4 (Address::getCoordinates)
  3. Try sending an Address (Brompton Rd, Houston, TX, US) following the field hint in search kit.
  4. error
  5. Try just a zip code
  6. Success

Error produced:

    {
      "error_code": 0,
      "error_message": "Geocoding failed. Failed to geocode address, no co-ordinates saved",
      "status": 500
    }
bjendres commented 1 month ago

Seems we can send a zip code through and get coordinates, but anything more to the search string returns an error.

Interesting. And you're sure it's not because of this:

USZipGeocoder - this is enabled on install & has no config. It will work as a fallback for US addresses only.