docassemble icon indicating copy to clipboard operation
docassemble copied to clipboard

Google Places Autocomplete not available to new customers

Open psharma04 opened this issue 6 months ago • 4 comments

As of March 1st, 2025, google.maps.places.Autocomplete is not available to new customers. Please use google.maps.places.PlaceAutocompleteElement instead.

This error occurs any time address autocomplete: True is used for new installations, and therefore effectively prevents use of address autocomplete for new users.

I believe the new endpoint uses the new "Places (new) API". Would it be possible to update to the new method?

psharma04 avatar Jun 17 '25 06:06 psharma04

Some further information I found around the internet: https://developers.google.com/maps/documentation/javascript/reference/autocomplete-data#AutocompleteSuggestion

https://github.com/visgl/react-google-maps/issues/736

https://github.com/googlemaps/extended-component-library/issues/261

https://developers.google.com/maps/documentation/javascript/legacy/places-migration-autocomplete

psharma04 avatar Jun 17 '25 06:06 psharma04

Have you tried https://console.cloud.google.com/apis/library/places-backend.googleapis.com as mentioned in the first link? Curious if this is a working solution for now. The migration to new API for existing users is > 1 year away.

nonprofittechy avatar Jun 17 '25 14:06 nonprofittechy

I have started working on a new version of address autocomplete that uses the new Google Places API.

jhpyle avatar Jun 17 '25 14:06 jhpyle

Version 1.8.x has support for the new API.

google:
  use places api new: True

jhpyle avatar Aug 14 '25 15:08 jhpyle