Driving Distance Calculator: oops something went wrong.

  • Themeekins
    Asked on July 29, 2020 at 4:56 PM

    I am having a hard time with my jotform accepting the API key for google maps. I went through all the steps and added it and restricted it, but it keeps saying "oops something went wrong" and wont allow me to enter an address.  

    Jotform Thread 2480306 Screenshot
  • Jed_C
    Replied on July 29, 2020 at 9:12 PM

    We apologize for the inconvenience.

    Upon checking the error (RefererNotAllowedMapError) in your form, it shows that Maps Javascript API hasn't been added to your allowed referrer list.

    1596071374Schedule a Trip   Google Chrom Screenshot 10

    1596071389Error Messages     Maps Java Screenshot 21

    Reference: https://developers.google.com/maps/documentation/javascript/error-messages

    Try adding Jotform in the referrer list and try again.

    ex.

    1596071537jf domain Screenshot 32

    Let us know how it goes.

  • Themeekins
    Replied on August 4, 2020 at 8:00 PM

    I have added a referrer and removed the restrict key and it is still giving me an error message:

    1596585471api 3 Screenshot 10

    1596585587Api 4 pair Screenshot 21

    1596585541Api 4 Screenshot 32


  • Jed_C
    Replied on August 4, 2020 at 9:11 PM

    Kindly also try adding the links below (HTTP and HTTPS links).

    1). http://www.jotform.com/*

    2). https://www.jotform.com/* 

    Also, try the suggestion provided by our dev team below.

    Driving Distance Calculator: oops something went wrong Screenshot 20

    Let us know how it goes.

  • Themeekins
    Replied on August 5, 2020 at 5:54 PM

    Ive created a new API key, added the 2 jotform websites under referrers, added the Maps API, Geolocation and Geocoding APIs under restrictions and still getting the same message. 

    I am not sure what is going wrong here... I have followed all of your suggestions and it is still not working but when I run the demo on the site for the driving calculator it works just fine. Is there someone there that can generate the form for us? Also when I an uploading the API Key on the form should i just enter the API key or add in the additional characters suggested by google?


  • Jed_C
    Replied on August 5, 2020 at 8:09 PM

    If everything is enabled and allowed on your Google Account, but still not working. It would be best to reach out to Google Support to have your account checked.

    You may reach their support via chat or phone.

    Chat — https://console.cloud.google.com/support/chat?

    Phone — https://console.cloud.google.com/support/phone?

    Let us know if you have any questions or if you need further assistance.