Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Assistance Needed with 'REQUEST_DENIED' Error for Places API for my Project

 

 
Hello Google Support Team,

I am reaching out for assistance regarding an issue I am facing with the Google Places API in my project named "E-shop." I have enabled the Places API and generated an API key under this project. The project is also linked to an active billing account with a $300 credit. However, I am continuously receiving the following error response:

 

json
Copy code
{ "error_message": "This API project is not authorized to use this API.", "predictions": [], "status": "REQUEST_DENIED" }

 

 

Additionally, I am seeing an error log:

 

vbnet
Copy code
Error fetching Google API suggestions: response.json is not a function
 

Steps Taken to Troubleshoot:

  1. Verified the API Key: I have verified that the API key is accurate and belongs to the intended project. I have also ensured that it is being correctly passed in my requests.
  2. Checked API Enablement: I double-checked that the Places API is enabled in the Google Cloud Console for the  project.
  3. Billing Account: The project is linked to an active billing account, and since I have not yet utilized the free credit, there should be no issue related to quotas or billing.
  4. CORS and Referrer Restrictions: I reviewed any potential CORS issues and tested the API key without any restrictions temporarily, yet the error persists.
  5. Project Ownership: I confirmed that I am the owner of the project and have full access to make changes.

Despite all these checks, the "REQUEST_DENIED" error message indicates that the API project is not authorized to use the Places API.

Details of the Request:

I would appreciate any guidance on what might be causing this authorization issue and how to resolve it.
Thank you for your support.

0 2 183
2 REPLIES 2

Hello Did you get any solution? I am facing the same situation.

Hi, any solutions?

Top Solution Authors