Error Importing Addresses That Need to be Geocoded

I am trying to import a CSV file in the Bubble backend that includes a field with addresses that needs to be geocoded by the Google Maps API. I’m getting this error:

Your import of “***.csv” on Tuesday, August 18, 2020 3:05 PM UTC failed because of an error:
Error hitting Google Geocode API: This API project is not authorized to use this API.

In the Google Cloud Platform Website restrictions, I have my domain listed, and the geocoding works on the front end. Do I also need to list a Bubble URL since the import is running on the Bubble server?

Okay. Figured it out. The Server Key I put in the “Google Geocode API key” settings should not have any applications restrictions. Since it will not be exposed in my app, I don’t need to worry about it being used by someone else.

I should have followed the Bubble Manual instructions more closely!

1 Like