Title: Cannot connect API
Last modified: January 5, 2021

---

# Cannot connect API

 *  Resolved [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/)
 * {
    “error_message”: “This API project is not authorized to use this API.”, “html_attributions”:[],“
   status”: “REQUEST_DENIED” }

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

 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866090)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) Thanks for sending
   the Retrieved Data. It looks likes either the IP address restriction is not set
   or incorrect, or more likely, the restriction for the API is incorrect. Please
   ensure that you have “**Places API**” enabled and selected in to API Key Restrictions(
   it’s at the bottom of this page).
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866147)
 * Sorry, I am not very familiar with this.
    Thank you for your quick reply.
 * Do I add a ‘key restriction’?
 * Application restrictions
    An application restriction controls which websites,
   IP addresses or applications can use your API key. You can set one application
   restriction per key.
 * None
    HTTP referrers (websites) IP addresses (web servers, cron jobs, etc.) Android
   apps iOS apps
 * API restrictions
    API restrictions specify the enabled APIs that this key can
   call
 * Don’t restrict key
    This key can call any API Restrict key Note: It may take 
   up to 5 minutes for settings to take effect.
 * Currently, I have no restrictions but google doesn’t really like this – they 
   put a warning on it.
 * If you could point me to the correct setting I would be most grateful.
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866206)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) That’s ok, I made
   a visual guide if this helps:
 * [https://designextreme.com/wordpress/google-api/](https://designextreme.com/wordpress/google-api/)
 * It seems you found the right page there. You’ll need to select “IP Addresses”
   and select the API Key: “Places API” from the list.
 * If you’re new to Google Cloud, you’ll probably need to [enable “Places API” from the Library](https://designextreme.com/wordpress/google-api/)
   to see it appear in the last list there.
    -  This reply was modified 5 years, 4 months ago by [Noah Hearle](https://wordpress.org/support/users/designextreme/).
      Reason: Last paragraph
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866291)
 * Ah great!
 * I enabled Places API
    I restricted using this as shown.
 * I put IP address. Do I use my own computers IP here?
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866302)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) That’s good!
 * For the IP Addresses, you’ll only need the IPv4 or IPv6 IP address of the web
   server you’re using. That’s all. It will tell you in the plugin’s Welcome or 
   Setup tab.
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866319)
 * {
    “error_message”: “This IP, site or mobile application is not authorized to
   use this API key. Request received from IP address 209.182.197.181, with referee:
 * URL
 * “,
    “html_attributions”: [], “status”: “REQUEST_DENIED” }
    -  This reply was modified 5 years, 4 months ago by [amberjader](https://wordpress.org/support/users/amberjader/).
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866323)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) Please don’t copy
   your API Key to a public forum. Please remove the URL here. Thanks.
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866324)
 * I really appreciate you getting me this far, it is wonderful.
 * Maybe I need to wait for it to configure itself
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866332)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) Just to confirm
   what you need to restrict in the API Key:
    1. Under IP Addresses, please ensure that you have: **209.182.197.181**
    2. Under APIs, please ensure that you have: **Places API**
 * Save it and check that the API Key still matches the one in the restriction page
   or Credentials list.
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866363)
 * Oh amazing thank you so much!
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866375)
 * [@amberjader](https://wordpress.org/support/users/amberjader/) Great! I presume
   it’s all working ok for you now? 🙂
 *  Thread Starter [amberjader](https://wordpress.org/support/users/amberjader/)
 * (@amberjader)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13866675)
 * Yes perfect thank you
 *  [bpsimms](https://wordpress.org/support/users/bpsimms/)
 * (@bpsimms)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13885489)
 * Hi, I followed the instructions but got the following message:
 * {
    “error_message”: “This API project is not authorized to use this API.”, “html_attributions”:[],“
   status”: “REQUEST_DENIED” }
 * The only thing I couldn’t do was to choose API Places from the only available
   options shown:
 * BigQuery API
    BigQuery Storage API Cloud Datastore API Cloud Debugger API Cloud
   Logging API Cloud Monitoring API Cloud SQL Cloud Storage Cloud Trace API Google
   Cloud APIs Google Cloud Storage JSON API Service Management API Service Usage
   API
 * Have Google changed anything?
 *  [bpsimms](https://wordpress.org/support/users/bpsimms/)
 * (@bpsimms)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13885556)
 * Update. I found out why the Maps API was missing, I needed to activate the API.
   However, after activating and selecting Maps API, it still didn’t work. I think
   the problem is with the Google Place ID. As the business covers a whole area,
   it is not listed with a specific address on Google Local. Although I have been
   using the place ID of the town, this still didn’t help although the Pluging is
   operating now.
 * Is there a workaround for this?
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13885884)
 * [@bpsimms](https://wordpress.org/support/users/bpsimms/) You need the **Places
   API** enabled. The Places API only returns data for _specific locations_ as detailed
   in the plugin’s requirements.

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

The topic ‘Cannot connect API’ is closed to new replies.

 * ![](https://ps.w.org/g-business-reviews-rating/assets/icon.svg?rev=2722684)
 * [Reviews and Rating – Google Reviews](https://wordpress.org/plugins/g-business-reviews-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/g-business-reviews-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/g-business-reviews-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/g-business-reviews-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/g-business-reviews-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/g-business-reviews-rating/reviews/)

## Tags

 * [request denied](https://wordpress.org/support/topic-tag/request-denied/)

 * 15 replies
 * 3 participants
 * Last reply from: [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-connect-api/#post-13885884)
 * Status: resolved