“Google Maps Platform rejected your request” – Apostrophe (‘)
-
I had a problem with this plugin but I seem to have found a workaround.
I figured that on some of my websites, the Google Maps block wouldn’t show and it would show the following error message instead:
Google Maps Platform rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to https://g.co/dev/maps-no-account
Please note that I use the correct API key and that I also have activated billing in my Google cloud console. The Google Maps is just showing fine on other pages of my website and I am also not restricting the API key on some of my own web pages.
The problem occurs (and I am not sure if this is a problem with your plugin or a general one) whenever I use an apostrophe in the address field of your Map Block for Google Maps e.g. “Col’Cacchio” or “Maiden’s Cove” which are real names of real places. When I eliminate the apostrophe from the address e.g. “Colcacchio” or “Maidens Cove”, the problem is solved and Map displays correctly without error message.
Hope this helps someone else since I couldn’t find any solution when I googled for it.
- The topic ‘“Google Maps Platform rejected your request” – Apostrophe (‘)’ is closed to new replies.