Search By Google Address in Bubble Data API throws error

Hello Bubblers!
I using Data API to filter items …/api/1.1/obj/listing?cursor=0&limit=50&descending=true&constraints=[{“key”:“ServiceAddress”,“constraint_type”:“geographic_search”,“value”:{“range”:100,“origin_address”:“Miami Beach, FL, USA”}}]&sort_field=Modified%20Date

But this request is throwing an error:
{
“statusCode”: 400,
“body”: {
“status”: “INVALID_DATA”,
“message”: “Invalid data for endpoint listing, key ServiceAddress: Error hitting Google Geocode”
}
}

if I change origin_address to Miami, FL, USA" - then it works. I tried different combinations - even GPS coordinates, but it still throwing errors. I need to filter by specific addresses (including street or zip). Can someone explain me how it works and what is exact expected format for origin_address field?

This topic was automatically closed after 70 days. New replies are no longer allowed.