I’ve created a duplicate google map as I want the exact same settings and style but for another website.
The only problem is that I can’t find a way to edit/update the API key to the new API key for the additional website.
Is there a way to do it without having to create from scratch?
1 Like
Max
December 28, 2024, 9:07am
3
Hi there, @user5002
I see that you’ve sent all the needed info to my colleague Pavel and I’ve updated the API key in the duplicated widget.
Check it out and let me know if everything is fine now
1 Like
It hasn’t worked but I think I sent the wrong key, can you please try this key:
(I think there was a dash in the key I sent previously.
1 Like
Max
December 28, 2024, 1:40pm
6
Yeah, there was a dash in the key you’ve sent to Pavel.
I’ve replaced it with the new code. Could you please double-check it?
1 Like
No it’s still not working, I must have done something wrong.
Is it working for you? Mental Health Soccer Club - USA - Multi-Award Winning
1 Like
Max
December 28, 2024, 1:44pm
8
I’ve checked your website and I found the following error in your console -RefererNotAllowedMapError :
It means that you didn’t add all the required referrers to your Google Maps API key or added them incorrectly.
Please follow the steps from this article to set them up and let me know if it helped - How to get Google API Key for Google Maps widget .
1 Like
I have updated the API, including the website which had one additional letter that shouldn’t have been there.
It still doesn’t seem to be working though or has it not updated yet?
Can you check the website code please?
1 Like
Max
December 28, 2024, 2:03pm
10
The same error is still there, unfortunately. COuld you please send me a screenshot of how you’ve set the restrictions for your API Key? Here is an example of what I mean:
1 Like
Max
December 28, 2024, 2:27pm
13
@user5002 Here is the correct variant: https://mentalhealthsc.org/ *
Also, please try to switch the API Restrictions to Restrict Key:
1 Like
It still doesn’t seem to be working…
1 Like
Max
December 28, 2024, 2:38pm
15
Please remove this option:
1 Like
I’ve updated it, the only problem is that the API for my other website that is working perfectly has these settings…
1 Like
Max
December 28, 2024, 2:52pm
17
Got it, thanks!
I’ve passed this issue on to the devs and will update you once I have their response
1 Like
Ok thank you, sorry about this.
Is there anything else that could be wrong or is it definitely what you think?
1 Like
Max
December 28, 2024, 2:57pm
19
Usually this error appears when the restrictions are set incorrectly, but will investigate it further and try to find out the reason for this
Max
December 28, 2024, 3:10pm
21
Could you please give it one more try and add https://mentalhealthsc.org to the restrictions?
1 Like
Max
December 28, 2024, 3:18pm
23
Please try to use it without asteriks, just https://mentalhealthsc.org .
If it still doesn’t work, please revert to the restrictions you’ve set initially:
Our devs will be investigating this issue: further!
1 Like