googlemaps / googlemaps/google-maps-services-js

Address autocomplete ApiNotActivatedMapError

Open
#1,053 1 comment 1 reaction 0 assignees View on GitHub
priority: p2 type: feature request
Dominant language
TypeScript
Stars
3.1k
Forks
654
Avg merge
3m
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.