google-maps-services-js
google-maps-services-js copied to clipboard
Address autocomplete ApiNotActivatedMapError
When using any address autocomplete component in React, I was getting the error "ApiNotActivatedMapError", even though I activated the Maps JavaScript API as stated in the error code description here: https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error
Turns out I also needed to enable the places API in order for it to work. I think it would be good for this to be added to the documentation, or even better if a different error could be thrown if the places API is not enabled.
If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@adamgerhant Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
-
StackOverflow - use the
google-maps
tag
This is an automated message, feel free to ignore.