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:
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.