ApiNotActivatedMapError for simple html page using google-places-api

I’m trying to create a simple html page (I’d later like to add an autocomplete input there) that include google-places-api. I have an api-key (which is enabled) but I still get an error message.

Here is my html-

<head>
    <meta charset="utf-8">
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=MY_KEY&libraries=places"></script>
    <title>test</title>
</head>
<body>
</body>

but I get this error message-

and in the console I get – Google Maps API error: Google Maps API error: ApiNotActivatedMapError

I can’t understand what the problem is.. Appreciate anybody’s help

Leave a Comment

tech