Title: doesn&#8217;t work with restricted API?
Last modified: August 23, 2020

---

# doesn’t work with restricted API?

 *  Resolved Anonymous User 15521305
 * (@anonymized-15521305)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/)
 * Hello,
 * My API is restricted only for my website and I receive this error “Google error:
   API keys with referer restrictions cannot be used with this API.” when I try 
   to generate a shortcode. You plugin doesn’t work with restricted API?

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

 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13306999)
 * Hi @topsan123,
 * According to the Google API, you can’t use your own API key in a third-party 
   services, like our plugin. It’s a limitation of Google, not the plugin.
 * So, you need to disable any restrictions of the API key by the following instructions:
 * 1. Go to the Google Console https://console.developers.google.com/apis/dashboard?
   pli=1
 * 2. Select your Google project where you created the API key:
 * 3. Select ‘Credentials’ menu and edit your API key:
 * 4. Select ‘None’ in the ‘Application restrictions’ section and ‘Don’t restrict
   key’ in the ‘API restrictions’ section:
 * After that, try to connect your Google place again in the plugin.
 * Let me know if you have any problems with this.
 * Thanks!
 *  Thread Starter Anonymous User 15521305
 * (@anonymized-15521305)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13311565)
 * Thanks!
 *  [trevorwood](https://wordpress.org/support/users/trevorwood/)
 * (@trevorwood)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13467712)
 * I’m not sure that is true – I’ve been using a Google maps plugin for years with
   website restrictions. This is required to make sure that the information is only
   supplied to that website.
 * removing the website restrictions leave the API open to is being used on any 
   website. Please could you check and review
 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13470654)
 * Hi [@trevorwood](https://wordpress.org/support/users/trevorwood/),
 * You are most likely using a plugin that works on the client side (in frontend),
   but this plugin works on the server and there may not be a referrer or static
   IP address for checking in Google Places API restrictions.
 * Thanks!
 *  [trevorwood](https://wordpress.org/support/users/trevorwood/)
 * (@trevorwood)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13472547)
 * Possibly – however, I’ve found a work around and that is to use the IP address

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

The topic ‘doesn’t work with restricted API?’ is closed to new replies.

 * ![](https://ps.w.org/widget-google-reviews/assets/icon-256x256.gif?rev=3152314)
 * [Rich Showcase for Google Reviews](https://wordpress.org/plugins/widget-google-reviews/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-google-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-google-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-google-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-google-reviews/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [trevorwood](https://wordpress.org/support/users/trevorwood/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/doesnt-work-with-restricted-api/#post-13472547)
 * Status: resolved