Title: Google Generated API Code Is Incorrect
Last modified: August 31, 2016

---

# Google Generated API Code Is Incorrect

 *  Resolved [luxlightphotography](https://wordpress.org/support/users/luxlightphotography/)
 * (@luxlightphotography)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/)
 * Hello! Thank you for this great plugin-I have been enjoying using it and it has
   been extremely helpful for me and my users! I just got the notification that 
   google requires a new API code and I followed your directions through Wizard #
   1 and #2 to generate an API code. When I test it, I get a message that Google
   Static Maps API Failed, But Google Embed Maps Worked…I’ve tried creating several
   API’s through the directions and each time, I get the same problem. Can I please
   some assistance so that I can continue to use your amazing plugin?
 * Any help would be most appreciated! My website is [http://www.luxlightphotography.net](http://www.luxlightphotography.net)
   for your reference.
 * [https://wordpress.org/plugins/google-maps-widget/](https://wordpress.org/plugins/google-maps-widget/)

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

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121006)
 * Hi, thank you for the kind words.
    I had a look at your site and the map in the
   footer looks fine. Sometimes it just takes Google a bit longer to activate the
   API key.
 *  Thread Starter [luxlightphotography](https://wordpress.org/support/users/luxlightphotography/)
 * (@luxlightphotography)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121016)
 * Ok thanks so much for letting me know. I observed the maps were working as well
   but when I was getting notified that I needed a new API from Google I thought
   something was wrong, especially when testing, I got an error. Thanks for your
   quick response!
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121022)
 * You’re welcome 😉
 *  [moonsite](https://wordpress.org/support/users/moonsite/)
 * (@moonsite)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121163)
 * Any idea how long this waiting takes? I’ve got the same problem here;
    I followed
   your directions through Wizard #1 and #2 to generate an API code. When I test
   it, I get a message that Google Static Maps API Failed, But Google Embed Maps
   Worked…I’ve tried creating several API’s through the directions and each time,
   I get the same problem.
 * My URL: [http://www.les-fontanelles.com](http://www.les-fontanelles.com)
 *  [moonsite](https://wordpress.org/support/users/moonsite/)
 * (@moonsite)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121164)
 * btw on the contact page the map is still there. On the footer however it ‘disappeared’!??
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121165)
 * It takes 5-10 minutes max, but you most probably entered the referral blocking
   options incorrectly.
    If you want to protect your API key by using the “Accept
   requests from these HTTP referrers (web sites)” option in Google Console make
   sure to add your domain in these two formats: _*.mydomain.com/*_ and _mydomain.
   com/*_ and wait a few minutes until Google makes the necessary changes.
 *  [moonsite](https://wordpress.org/support/users/moonsite/)
 * (@moonsite)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121191)
 * Thanks a lot! Every map is working again!
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121193)
 * Glad to hear that! 😉
 * If you have the time, please give us a nice rating. It really helps us a lot –
   [https://wordpress.org/support/view/plugin-reviews/google-maps-widget](https://wordpress.org/support/view/plugin-reviews/google-maps-widget)

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

The topic ‘Google Generated API Code Is Incorrect’ is closed to new replies.

 * ![](https://ps.w.org/google-maps-widget/assets/icon.svg?rev=2139345)
 * [Maps Widget for Google Maps](https://wordpress.org/plugins/google-maps-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-widget/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/google-generated-api-code-is-incorrect/#post-7121193)
 * Status: resolved