Skip Navigation

[Resolved] Maps don't load despite correct API keys

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 3 voices.

Last updated by maikd 5 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1267431

Hi,
I activated the maps plugin to use it!
I created a new CPT called "Places" that is block-editor based, and want to show maps in it.
i created a post, and tried different addresses.
everytime, the map will load for a scond, then goes to a "Sorry Something went wrong. check the javascript console for details."

when I do so, I find the error message as:
js?libraries=places&v=3&key=AIzaSyB10ThSROEPCQLmBa9QOcfeLl_pIntII7s:59 Google Maps JavaScript API error: RefererNotAllowedMapError
hidden link
Your site URL to be authorized: hidden link

The only way to get a map to display is if I specifically added the post url to the referrals list!

Here is a list of my referrerl sites:
hidden link

The issues are:
1- I can't possibly add every post to the list.
2- The same API is working perfectly fine on one of my other websites that I built using Divi theme and Builder:
hidden link

So there are no issues with the API keys themselves. in addition, when I check the API in the Toolset options page, I get "Google API seems to be configured properly." in green.

I also deleted all saved locations from the plugin page.

here is the test post:
hidden link

Can you please advise why is this happening with Toolset, and how to fix it?
thanks

#1267871

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

If you mean that the map is not working with the following URL:
=> hidden link

I checked and the map is working for me at this end - I do not see any errors on my browser console. Please check the following screenshot:
=> hidden link

You may check with a different browser or server.

#1609177

How is this supposed to help you, if all important information is hidden and cannot be displayed - not even when logged in.