Title: API Browser Key not working
Last modified: July 2, 2019

---

# API Browser Key not working

 *  Resolved [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/)
 * The browser key is repeatedly having an issue saying that it is not working and
   it’s causing the map to not work at all. No matter how many times I redo my browser
   key, it won’t work at all for this site. Can anybody offer any advice as the 
   client is chasing about their map not working.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-browser-key-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-11695253)
 * There are different problem that show up in the browser console ( F12 ).
 * Are you using another Google maps plugin? Try to disable it, and also enable 
   the compatiblity mode on the WPSL settings page ( tools section ).
 *  Thread Starter [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-11856572)
 * No other google maps plugin is in use, compatibility mode is enabled.
 * The browser console shows me the following;
    - Uncaught (in promise) Xc
       jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed,
      version 1.4.1
    - js:124 You have included the Google Maps JavaScript API multiple times on 
      this page. This may cause unexpected errors.
       Nh @ js:124
    - [http://www.googletagmanager.com/gtag/js?id=UA-89128346-31:1](http://www.googletagmanager.com/gtag/js?id=UA-89128346-31:1)
      Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
    - js:53 You are using this API without a key. See [https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors](https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors)
      _.
      Wc @ js:53
    - util.js:240 Google Maps JavaScript API warning: NoApiKeys [https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys](https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys)
 * Both the server key and the browser key have been created following the steps
   outlined during setup yet the browser key is having issues and saying the following;
 * _There’s a problem with the provided browser key. _
 * You will have to open the browser console ( ctrl shift k in Firefox, or ctrl 
   shift j in Chrome ) to see the error details returned by the Google Maps API.
 * The error itself includes a link explaining the problem in more detail.
 * Common API errors are also covered in the troubleshooting section.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-11856586)
 * When I check the HTML source ( ctrl + U ), then I see this.
 * <script type=’text/javascript’ src=’[https://maps.google.com/maps/api/js’></script&gt](https://maps.google.com/maps/api/js’></script&gt);
 * After /js should be ?key= and several other parameters, so there’s a script from
   either another plugin, or something on your server that strips away the parameters.
 * If your using a security plugin then try to disable that, if not, then ask your
   host if they are maybe running code that would do this.
 * Also in the HTML source it shows your loading jQuery 3.x, which will likely cause
   issues since WP itself ships with 1.12. On line 12 of the code it also does make
   another call to a Google Maps library script, which can also cause issues.
 * Maybe it’s included from you theme?
 *  [vivazzio](https://wordpress.org/support/users/vivazzio/)
 * (@vivazzio)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-12140352)
 * Check if your theme is including another reference to Google Maps.
 * In my case, Divi template was including one line without the API key so It crashes
   ACF Location Input in backend.
    -  This reply was modified 6 years, 6 months ago by [vivazzio](https://wordpress.org/support/users/vivazzio/).
 *  Thread Starter [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-12814486)
 * I have tried removing the <script> tag to stop it showing that there are multiple
   tags being used, but doing this now displays that there are no API keys in use.
   I followed this up with Google Maps support and they have done some testing and
   advised me back here to say its a plugin issue as everything is set correctly
   on their end
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-12819426)
 * Your loading the Google Maps script ( and all other scripts ) without their parameters.
 * It look like this in the HTML source <script type=’text/javascript’ src=’[https://maps.google.com/maps/api/js’></script&gt](https://maps.google.com/maps/api/js’></script&gt);
   there should be a ?key=xxxx parameter.
 * Check if you have a security / optimization plugin running that remove script
   parameters, or custom code in the functions.php.
 * There’s also a ‘js:141 You have included the Google Maps JavaScript API multiple
   times on this page. This may cause unexpected errors.’ which won’t help, but 
   you can likely fix by enabling the compatibility mode on the WPSL settings page(
   tools section ).
 * You can see the errors in the browser console ( F12 ).
    -  This reply was modified 6 years, 1 month ago by [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/).
 *  Thread Starter [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [6 years ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-12858035)
 * I can see that parameter when I look for it, it all appears to be set correctly
 * I don’t know what I’m looking for with regards to things removing script parameters,
   I know that there is a lot of security functionality in place on the site as 
   it is required to be extremely secure so it is possible that something could 
   be in place, but I cannot tell for certain
 * Compatability mode is enabled and was when I sent the last message across.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-12862689)
 * The duplicate script error isn’t always a problem. The store locator loads fine
   for me now and searches return results, so I wouldn’t spend time on trying to
   resolve the duplicate script warning unless it stops working.
 * It all works fine for you as well now?
 *  Thread Starter [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-13190172)
 * Hi Tijmen, apologies, the reply never came through.
 * It all works fine now yes, I managed to find where the issue was being caused
   from and resolved this.
 *  [cloud9beyond](https://wordpress.org/support/users/cloud9beyond/)
 * (@cloud9beyond)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-13258622)
 * So it would be great if you coul’d share with us how you fixed this as to help
   other people like myself and yourself to solve this problem.
    What was it down
   to plz??
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-13260070)
 * [@cloud9beyond](https://wordpress.org/support/users/cloud9beyond/) what errors
   show up on the wpsl setting page after you clicked the ‘show response’ button?
   Also check for errors in the browser console ( F12 ), and make sure you follow
   all the steps described [here](https://wpstorelocator.co/document/create-google-api-keys/#browser-key).
 *  Thread Starter [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * (@b2bwebteam)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-13266588)
 * [@cloud9beyond](https://wordpress.org/support/users/cloud9beyond/) I moved the
   server it was hosted on and managed to find more hidden files where the old API
   key was stored

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

The topic ‘API Browser Key not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [b2bwebteam](https://wordpress.org/support/users/b2bwebteam/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/api-browser-key-not-working/#post-13266588)
 * Status: resolved