googlemaps / googlemaps/js-samples

Google Maps JavaScript API error: RefererNotAllowedMapError

Open
#1,225 1 comment 0 reactions 1 assignee Claimed by @wangela View on GitHub
Dominant language
TypeScript
Stars
805
Forks
836
PR merge metrics
No merged PRs in 30d

Description

### Operating system

Ubuntu 20.04

### Browser Version

104.0.5112.79

### How severe is the bug?

moderate

### Bug description

i follow this steps
git clone -b sample-place-details https://github.com/googlemaps/js-samples.git
cd js-samples
npm i
npm start
and then "Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details."

### Steps to reproduce

git clone -b sample-place-details https://github.com/googlemaps/js-samples.git
cd js-samples
npm i
npm start

### Console log output

```sh
Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://localhost:3000/
```

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.