-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth error: Caller does not have storage.buckets.create access to project #2456
Comments
That is an error related to IAM permissions. You will have to grant the appropriate permissions to the service account you are using to authenticate with |
@stephenplusplus just wonder, I've been working with one project and then switched to the other project. But still, when I run my node application google is trying to use my old account |
We don't cache anything, so that's a bit of a mystery. Maybe you have to |
@stephenplusplus currently I found workaround by using doing: PS As I told before right now I'm using a new account and I do not use the old account anymore, so I cannot revoke the old one |
Sorry, I misunderstood your earlier comment to list the complete steps you go through, however, they only start when you attempt to switch accounts. The account isn't hardcoded. |
I mean - maybe in the application I'm working with a google account is hardcoded, i.e. its my issue - not yours
thank you for help! |
I had the same problem and it works for me after running:
|
gcloud auth login - This command resolved error for me - |
running the basic storage example, have followed the auth instructions as well and get the error as listed below. Have googled it but very few comments on it and no suggestions as to where the problem might be?
errors:
[ { domain: 'global',
reason: 'forbidden',
message: 'Caller does not have storage.buckets.create access to project*********.' } ],
response: undefined,
message: 'Caller does not have storage.buckets.create access to project*********.' }
The text was updated successfully, but these errors were encountered: