-
Notifications
You must be signed in to change notification settings - Fork 45
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
bk init - GraphQL error: Authentication required - but it might actually be a permissions issue #75
Comments
Hmm, maybe I'm wrong -- I added all the scopes to my token but |
Tried again - created new api token with all scopes, and all checkboxes checked. Here's the debug output from
|
I have kind of the same question... https://github.com/buildkite/cli gives no guidance as to which scopes are necessary for running builds locally Are any Buildkite staff monitoring these issues? There seem to be a lot open with no comments |
I create a GraphQL token for my org but I don't give it any scopes (because I don't know who/when they are needed, and there are so many of them, so I just ignore it).
Then when I run
bk init
I get aGraphQL error: Authentication required
error:My guess is that it isn't an authentication issue (authentication = who is this?) but an authorization issue (is this user allowed to do operation xyz?)
Is it possible for the
bk init
command error nicely and educate me in future?Which scopes do I need for
bk init
and otherbk
operations?The text was updated successfully, but these errors were encountered: