We've seen two cases where PermissionDenied can get caught; wrong IAM roles on the SA, and the API just not being enabled at all for the specified project. Adding more info to our error message to be more helpful.
Bonus: Made the whole error message one variable, so we don't have to call print multiple times.
We've seen two cases where
PermissionDenied
can get caught; wrong IAM roles on the SA, and the API just not being enabled at all for the specified project. Adding more info to our error message to be more helpful.Bonus: Made the whole error message one variable, so we don't have to call
print
multiple times.