Hey, I created a CircleCI account using GitHub, provided access to my organization on the GitHub screen. Then I created an API key for my account and entered it into CircleCI CLI:
circleci setup
Then I ran:
circleci orb init circleci-orb --debug
My steps were:
-
Yes, walk me through the process.
- ? Would you like to perform an automated setup of this orb? Yes, walk me through the process.
- ? Are you using GitHub or Bitbucket? GitHub
- ? Enter your github username or organization %my org name%
- ? Enter the namespace to use for this orb %my namespace%
- ? Orb name %my orb name%
- ? Automatically set up a publishing context for your orb? Yes, set up a publishing context with my API key.
And then I’ve got the error:
<< result status: 200 OK
<< {“data”:null,“errors”:[{“message”:“Non-nullable field was null.”,“locations”:[{“line”:3,“column”:3}],“path”:[“createContext”],“extensions”:{“arguments”:{“input”:“$input”}}},{“message”:“You don’t have permission to create a context.”,“locations”:[{“line”:3,“column”:3}],“path”:[“createContext”],“extensions”:{“type”:“PERMISSION_DENIED”,“arguments”:{“input”:“$input”}}}]}
Error: Non-nullable field was null.
You don’t have permission to create a context.
What I’m doing wrong? Also, I cannot navigate to https://app.circleci.com/settings/organization/github/%org name%/contexts, I see the error “Something Unexpected Happened”