Home Forums WoodMart support forum Google API code

Google API code

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #574225

    greg-9795
    Participant

    Hi,

    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.
    #574359

    Luke Nielsen
    Keymaster

    Hello,

    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

    #574436

    greg-9795
    Participant

    Hi 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

    #574438

    Luke Nielsen
    Keymaster

    Hello,

    Could you update the theme and check how it works there?

    Looking forward to hearing back from you!

    Kind Regards

    #574502

    greg-9795
    Participant

    Hi, i have updated all plugins etc and it still shows the same error

    #574522

    Luke Nielsen
    Keymaster

    Hello,

    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

    https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error

    Screenshot: https://prnt.sc/4NHc-AaTvkNo

    Kind Regards

    #574528

    greg-9795
    Participant

    Hi 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.

    #574955

    Luke Nielsen
    Keymaster

    Hello,

    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

    #574991

    greg-9795
    Participant

    Hi Luke,

    i have removed as requested but it still is not working

    Attachments:
    You must be logged in to view attached files.
    #575192

    Luke Nielsen
    Keymaster

    Hello,

    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/DJSAnlRUuJRf

    If 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 3 days, 2 hours ago by Luke Nielsen.
    • This reply was modified 3 days, 2 hours ago by Luke Nielsen.
    #575971

    greg-9795
    Participant

    that 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

    #575988

    Luke Nielsen
    Keymaster

    Hello,

    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

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Google API code’ is closed to new replies.