Forums

Maps JavaScript API

I get an error when adding Maps Javascript on my project.

Error: RefererNotAllowedMapError

Google docs: The current URL loading the Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key in the Cloud Console.

My added URL referrers:

  • https://<my-project>.pythonanywhere.com/*
  • http://<my-project>.pythonanywhere.com/*
  • <my-project>.pythonanywhere.com/*
  • https://.pythonanywhere.com/
  • http://.pythonanywhere.com/
  • .pythonanywhere.com/

I don't understand why this error occurs.

Does this have anything to do with it is on python anywhere domain?

Thanks in advance

[formatted by admin]

It does not look like anything on our side. I see a long discussion involving people confused by documentation here Maybe you will be able to find something useful there.