Title: Google Map API key error
Last modified: July 22, 2020

---

# Google Map API key error

 *  Resolved [daricedotorg](https://wordpress.org/support/users/daricedotorg/)
 * (@daricedotorg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/)
 * I’m running a local WordPress install (localhost) with the intention to export
   the site as a static website and deploying it online. Hence the reason I’m running
   it on localhost.
 * I want to insert Google Maps in my posts but I get the following error:
 * _Google Maps Platform rejected your request. The provided API key is invalid._
 * I currently use the plugin also on an online host and it works fine there.
 * Is the API key issue related to WordPress being on localhost or is something 
   else going on? Is there a way to fix it?
    -  This topic was modified 5 years, 10 months ago by [daricedotorg](https://wordpress.org/support/users/daricedotorg/).

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

 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/#post-13158638)
 * Hello [@daricedotorg](https://wordpress.org/support/users/daricedotorg/),
 * I’d like to let you know, this issue occurs when the address field is empty. 
   I have tried the same at our end on both local and live site and it seems to 
   be working fine.
 * Could you please confirm if your address field is empty or not?
 * Let me know. Looking forward to hearing from you.
 * Regards,
    Sweta
 *  Thread Starter [daricedotorg](https://wordpress.org/support/users/daricedotorg/)
 * (@daricedotorg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/#post-13158946)
 * Hi [@brainstormteam](https://wordpress.org/support/users/brainstormteam/),
 * You didn’t mention if it is the WordPress site address in WordPress settings 
   or the Google Map address. But in any case, they are all filled.
 * Screenshot of plugin in editor: [https://www.dropbox.com/s/xg74nm8cl6nh2no/Screenshot%202020-07-23%20at%2008.55.22.png?dl=0](https://www.dropbox.com/s/xg74nm8cl6nh2no/Screenshot%202020-07-23%20at%2008.55.22.png?dl=0)
 * Screenshot of WordPress address settings: [https://www.dropbox.com/s/qom1tiyaqe2kige/Screenshot%202020-07-23%20at%2008.56.49.png?dl=0](https://www.dropbox.com/s/qom1tiyaqe2kige/Screenshot%202020-07-23%20at%2008.56.49.png?dl=0)
 * I even made sure to open port 80 on my router. But I still get the same error
 *  Thread Starter [daricedotorg](https://wordpress.org/support/users/daricedotorg/)
 * (@daricedotorg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/#post-13159709)
 * **It is solved:**
 * I think it was a port/router issue. After opening HTTP and HTTPS ports it started
   working after an hour or more. Cache had to clear.
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/#post-13163368)
 * Hello [@daricedotorg](https://wordpress.org/support/users/daricedotorg/),
 * I’m glad it works out for you. Thanks for letting us know.
    ﻿ If you need anything
   else we can help you with, please don’t hesitate to open a new ticket. ﻿ Regards,
   Sweta

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

The topic ‘Google Map API key error’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/google-map-api-key-error/#post-13163368)
 * Status: resolved