professional-services icon indicating copy to clipboard operation
professional-services copied to clipboard

Billing Dashboard: "Permission Denied, check project level permission."

Open frankShih opened this issue 2 years ago • 3 comments

Same as this issue

I have the same issue. I already export billing & billing_detail to the BQ dataset.

The first time, I got the expected result. Then I manually remove generated views & looker dashboard. (not the suggested way in the official document)

The second time, I reproduce the same process (actually, I just re-run step-4). It shows

Version of billboard.py  3.0

Permission Denied, check project level permission.

Besides, I try the same steps with my personal GCP account (permission: 'project owner'), and get the same result.

Is there any possible solution? Thanks in prior.

frankShih avatar May 30 '23 00:05 frankShih

I faced same issue and I needed enabling Cloud Billing API(cloudbilling.googleapis.com). After enabling the API, It seemed resolved Permission Denied, check project level permission error.

Thank you

govargo avatar Jun 06 '23 15:06 govargo

I'm facing the same issue, and it solved by enabling Cloud Billing API(cloudbilling.googleapis.com) thanks @govargo

abdulaziz-git avatar Nov 09 '23 05:11 abdulaziz-git

Think this was checked for in v2, but this is not longer present in v3.

This is commented out in the source for some reason:

Check if billing api is enabled.

# service = discovery.build('serviceusage', 'v1')
# request = service.services().get(
#     name=f"{project_id_temp}/services/cloudbilling.googleapis.com")
# response = request.execute()
# if response.get('state') == 'DISABLED':
#     print("Cloud Billing API is not enabled.")
#     return sys.exit(1)

mhu-computas avatar Nov 23 '23 14:11 mhu-computas