PERMISSION_DENIED when enabling API on an active, paid project

Hello,

I am the Owner of project (PII Removed by Staff). I recently upgraded my account from the Free Trial to a full Paid Account to solve a permission issue.

However, I am still unable to enable the “Cloud Source Repositories API”. I always receive a PERMISSION_DENIED error.

I have already confirmed:

  1. My user (PII Removed by Staff) has the “Owner” role.
  2. My project is linked to an active, paid billing account.
  3. I have tried restarting Cloud Shell, re-authenticating, and enabling the API from the web console.

The error is always:
“PERMISSION_DENIED: Permission denied to enable service [sourcerepo.googleapis.com]”

Since I have the Basic Support plan, I cannot create a technical support case. Can anyone from the community or a Google Cloud representative help me understand why my project might be blocked from enabling this API?

1 Like

Hello @Lior_Patael ,

First of all, Cloud Source Repositories API has been deprecated [1], so if you want to use such thing, you have to enable Secure Source Manager.

Would you be able to provide logs entry from Logs explorer for API activation ?

[1]. Cloud Source Repositories documentation  |  Google Cloud Documentation

cheers,

Damian | GDE for Google Cloud