Billing Dashboard: "Permission Denied, check project level permission."
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.
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
I'm facing the same issue, and it solved by enabling Cloud Billing API(cloudbilling.googleapis.com) thanks @govargo
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)