Home › Forums › WoodMart support forum › Google API code
Google API code
- This topic has 11 replies, 2 voices, and was last updated 3 days, 4 hours ago by
Luke Nielsen.
-
AuthorPosts
-
June 20, 2024 at 5:13 pm #574225
greg-9795ParticipantHi,
I know I must be missing a step but cant work out what.
I have created the API key, limited the API to the website and set the API restrictions. I have entered the Google map API key into the Theme Settings and it is still coming up Google Maps JavaScript API error: RefererNotAllowedMapError. I have read the error messages given and it says to check referrer settings of the API key which I have.
Attachments:
You must be logged in to view attached files.June 21, 2024 at 10:18 am #574359
Luke NielsenKeymasterHello,
Could you please send me screenshots of all the settings that are related to Google API?
https://xtemos.com/docs-topic/how-to-configure-google-login/
I await your response.
Kind Regards
June 21, 2024 at 12:54 pm #574436
greg-9795ParticipantHi Luke,
I believe I sent all the settings. the link you have sent is to enable Google login on the website but I am looking to display google maps via their API
June 21, 2024 at 1:00 pm #574438
Luke NielsenKeymasterHello,
Could you update the theme and check how it works there?
Looking forward to hearing back from you!
Kind Regards
June 21, 2024 at 2:53 pm #574502
greg-9795ParticipantHi, i have updated all plugins etc and it still shows the same error
June 21, 2024 at 3:38 pm #574522
Luke NielsenKeymasterHello,
On my side, I see the API error which you can fix with the help of the below article:
Google Maps JavaScript API error: RefererNotAllowedMapError
Screenshot: https://prnt.sc/4NHc-AaTvkNo
Kind Regards
June 21, 2024 at 3:56 pm #574528
greg-9795ParticipantHi Luke,
I had already posted about that error. I am aware of it but cannot see from the API set up why it is being generated. I have followed all steps of the API set up as instructed but still receive the error.
The help guide refers you back to the Use API Keys set up form which I have already completed and double checked.
June 24, 2024 at 2:24 pm #574955
Luke NielsenKeymasterHello,
This issue is due to incorrect configuration in the Google API. Please try removing “
https://
” in the settings.Let me know the result.
Kind Regards
June 24, 2024 at 3:24 pm #574991
greg-9795ParticipantHi Luke,
i have removed as requested but it still is not working
Attachments:
You must be logged in to view attached files.June 25, 2024 at 9:52 am #575192
Luke NielsenKeymasterHello,
1. This is the key from your Theme Settings – https://prnt.sc/qSbbkcXNdSDu
2. This is the key from the settings of the Google Map element – https://prnt.sc/DJSAnlRUuJRfIf you double check it, you will see that the key is different in the settings of the map itself.
Kind Regards
-
This reply was modified 5 days, 11 hours ago by
Luke Nielsen.
-
This reply was modified 5 days, 11 hours ago by
Luke Nielsen.
June 27, 2024 at 3:51 pm #575971
greg-9795Participantthat has worked thank you! I was unaware the API key was required here as well as I had only placed it into the Theme Settings > API Integration Box
June 27, 2024 at 4:23 pm #575988
Luke NielsenKeymasterHello,
You are welcome! If you’d like to contact us, we are here for whatever questions you may have.
Have a good day!
Kind Regards
-
This reply was modified 5 days, 11 hours ago by
-
AuthorPosts
The topic ‘Google API code’ is closed to new replies.
- You must be logged in to create new topics. Login / Register