Title: Api key is not working
Last modified: June 1, 2020

---

# Api key is not working

 *  Resolved [prashantrulz](https://wordpress.org/support/users/prashantrulz/)
 * (@prashantrulz)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/)
 * Hello,
 * I have been trying to use your Store Locator Plugin as per the instructions/steps
   you have provided. However, after creating the API, Browser and Server Keys, 
   when I am using these keys in the website, it is continuously giving us an error.
 * Error Screenshot of the same can be seen at [https://ibb.co/9t8Lrkr](https://ibb.co/9t8Lrkr)
 * Kindly look into this matter on priority.
 * Best,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-key-is-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [prashantrulz](https://wordpress.org/support/users/prashantrulz/)
 * (@prashantrulz)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12921026)
 * Also, if we buy paid version, would you help in step by step setup? I’m not a
   developer and doing my own site for small business.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12921200)
 * Looks like the referrers you set for the [browser](https://wpstorelocator.co/document/create-google-api-keys/#browser-key-referrer)
   and [server keys](https://wpstorelocator.co/document/create-google-api-keys/#server-key-referrer)
   are not correct ( this will show in the browser console ( F12 ) for the browser
   key.
 * The browser key referrer should be your domain the domain.com/* format, and the
   server key referrer should be set to the IP mentioned in the error message. So
   the number that starts with 2a02xxxxxxxxxx
 * I can not unfortunately not do a step by step setup for this, but if you follow
   the steps above. So everything as described [here](https://wpstorelocator.co/document/create-google-api-keys/),
   then it should work.
 * Basically use the ‘create browser key’ and ‘create server key’ buttons from the
   article, set the referrers and enable your billing account for Google Maps. You
   can read more about that [here](https://wpstorelocator.co/document/create-google-api-keys/#billing).
 *  Thread Starter [prashantrulz](https://wordpress.org/support/users/prashantrulz/)
 * (@prashantrulz)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12936330)
 * Hi,
    After lot of brains into it, my server key is resolved.
 * However, Browser key is still giving error. In the console, it shows the error“
   This API key is not authorized to use this service or API.”
 * There is no restriction in the Browser key and have check various times. Attaching
   screenshot.
 * [https://ibb.co/TPL67K8](https://ibb.co/TPL67K8)
    [https://ibb.co/Ky85wwC](https://ibb.co/Ky85wwC)
   [https://ibb.co/QrxcbqD](https://ibb.co/QrxcbqD)
 * Billing is also set and everything. Only Browser key is not working.
 *  Thread Starter [prashantrulz](https://wordpress.org/support/users/prashantrulz/)
 * (@prashantrulz)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12936391)
 * Wait some how, it has started working. Let me take this ahead. Sorry for troubling.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12936481)
 * Good to hear it’s working correctly now.
 * There can be a bit of delay with Google processing the keys.
 * Support for OpenStreetMaps will come with the next update, so none of this will
   be necessary.

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

The topic ‘Api key is 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/api-key-is-not-working-2/#post-12936481)
 * Status: resolved