Title: Google Maps JavaScript API error
Last modified: June 13, 2018

---

# Google Maps JavaScript API error

 *  Resolved [Greg](https://wordpress.org/support/users/gadietrich/)
 * (@gadietrich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/)
 * My distance plugin just stopped working and I’m getting a Google Maps JavaScript
   API error: [https://cl.ly/sG8u](https://cl.ly/sG8u).
 * It was working just fine and I’m pretty sure I have my Google Cloud Platform 
   set-up correctly: [https://cl.ly/sG45](https://cl.ly/sG45).
 * Again, it was working until we did the most recent update.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-maps-javascript-api-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/)
 * (@sofyansitorus)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10396173)
 * Hi,
 * Sorry to hear that. Could you please try to add **[https://\*.calumetfloral.com/\*](https://*.calumetfloral.com/*)**
   into the allowed referrer list.
 * Sofyan
 *  Thread Starter [Greg](https://wordpress.org/support/users/gadietrich/)
 * (@gadietrich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10396245)
 * Thanks for the quick response. I just added that, waited about 10 minutes, flushed
   my server cache, and still the same error.
 * For what it is worth, I use to have no referrer in there at all, just completely
   open, and it wasn’t working with that either.
 *  Plugin Author [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/)
 * (@sofyansitorus)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10396264)
 * Hi,
 * I think the issue is related with the API Key. I see the Google Maps at your 
   homepage is also broken. Please try deactivate the shipping plugin and see if
   the map at your homepage fixed or still broken. If it still broken. I am pretty
   sure it was caused by the API Key.
 * Perhaps creating new API Key will help, otherwise, you need to contact google
   directly to ask support.
 * Sofyan
    -  This reply was modified 7 years, 10 months ago by [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/).
 *  Thread Starter [Greg](https://wordpress.org/support/users/gadietrich/)
 * (@gadietrich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10396317)
 * OK, good news…got it working, sort of. I created a new project with a new key,
   and now we are back in shape here: [https://cl.ly/sFzd](https://cl.ly/sFzd).
 * That said, I’m not getting a calculation on check out, and the delivery address
   I’m using is well within the mileage allowed: [https://cl.ly/sFyJ](https://cl.ly/sFyJ).
   I use the zip code of 49913, which is same as the shop.
 *  Thread Starter [Greg](https://wordpress.org/support/users/gadietrich/)
 * (@gadietrich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10396359)
 * Another scenario, I tried a new browser, wondering if I was dealing with cached
   information.
 * When I do a calculation at the cart it works (as long as I only enter the zip
   code, once I enter city and state it won’t): [https://cl.ly/sG18](https://cl.ly/sG18)
 * But when I add the address at checkout, it doesn’t: [https://cl.ly/sG1h](https://cl.ly/sG1h)
 *  Plugin Author [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/)
 * (@sofyansitorus)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10405883)
 * Hi, Please try to switch the WooCommerce shipping debug mode to “ON”. Then open
   your cart/checkout page, you will see the error printed if there was.
 *  Plugin Author [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/)
 * (@sofyansitorus)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10429151)
 * I have not heard back from you regarding this issue, thus, I have closed the 
   ticket. If this issue is not resolved or you are still encountering issues, simply
   re-open this ticket or create a new one.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Google Maps JavaScript API error’ is closed to new replies.

 * ![](https://ps.w.org/wcsdm/assets/icon-256x256.png?rev=3405790)
 * [WooReer](https://wordpress.org/plugins/wcsdm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wcsdm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wcsdm/)
 * [Active Topics](https://wordpress.org/support/plugin/wcsdm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wcsdm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wcsdm/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Sofyan Sitorus](https://wordpress.org/support/users/sofyansitorus/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/google-maps-javascript-api-error/#post-10429151)
 * Status: resolved