API Help.
Im using the google geocode api to get the geocode information for an address. Im trying to save this data as part of the geolocation datatype in bubble but i keep getting different errors.
First it was this:
{
status: 'INVALID_DATA',
message: 'Invalid data for field Address: could not parse this as a geographic address'
}
with the payload of this
{
formattedAddress: '123 Main St, Houston, TX, 77459, USA',
latitude: XX.5587211,
longitude: -YY.51798939999999
}
Then i switched it to a string with the data like this:
`${geocodeData.formattedAddress}, ${geocodeData.latitude}, ${geocodeData.longitude}`
and I got this error:
{
status: 'INVALID_DATA',
message: 'Invalid data for field Address: Error hitting Google Geocode'
}
Theres not much support on this forum for this from what i’ve seen and id appreciate any help on this.
I also have no restrictions on the API as of right now