Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for New Places API in @react-google-maps/api #3415

Open
devansh-wrteam opened this issue Mar 11, 2025 · 4 comments
Open

Support for New Places API in @react-google-maps/api #3415

devansh-wrteam opened this issue Mar 11, 2025 · 4 comments

Comments

@devansh-wrteam
Copy link

The @react-google-maps/api library no longer works with the new Places API (New) from Google Cloud. When using the Places search feature, it throws the following error:

2117-fc741434ebc9c7dd.js:1 This API project is not authorized to use this API. Places API error: ApiNotActivatedMapError

Previously, the old Places API worked fine, but since Google has removed it, the new API is not compatible with @react-google-maps/api. Please provide support for the new Places API (New).

@AbdurrehmanSubhani
Copy link

Running into the same issue, API key is tested working on server side

@devansh-wrteam
Copy link
Author

@AbdurrehmanSubhani sir, I’ve found a temporary solution. You can enable the old Places API by visiting this link and clicking "Enable Places API Legacy": https://developers.google.com/maps/documentation/javascript/place-autocomplete-new

@MatiasManevi
Copy link

Having the same issue. Can't use the new places API. It's not that I want to but Google just doesn't show the Legacy one anymore in the console, so you can't enable it or use it.

@devansh-wrteam
Copy link
Author

@MatiasManevi Use this link for enabling legacy Places API
https://console.cloud.google.com/apis/library/places-backend.googleapis.com?_gl=1*n6rwt*_ga*MTk2MTUwMzUwMi4xNzA5MDk3MDA0*_ga_NRWSTWS78N*MTc0MjM3ODEyNC4xMC4xLjE3NDIzNzgxMjQuMC4wLjA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants