I’m trying to create a namespace so I can publish an orb. I’m using a personal circleci token, but am getting auth errors for the command:
circleci namespace create lightboxnz github lightboxnz --verbose
Verbose Logging: true
[machinebox/graphql] >> variables: map[organizationName:lightboxnz organizationVcs:GITHUB]
[machinebox/graphql] >> query:
query($organizationName: String!, $organizationVcs: VCSType!) {
organization(
name: $organizationName
vcsType: $organizationVcs
) {
id
}
}
[machinebox/graphql] >> headers: map[User-Agent:[circleci-cli/0.1.1237+5196715] Content-Type:[application/json; charset=utf-8] Accept:[application/json; charset=utf-8] Authorization:[TOKEN]]
[machinebox/graphql] << {"data":{"organization":{"id":"ea46b509-ab75-4938-b75f-f4815c34c216"}}}
[machinebox/graphql] >> variables: map[name:lightboxnz organizationId:ea46b509-ab75-4938-b75f-f4815c34c216]
[machinebox/graphql] >> query:
mutation($name: String!, $organizationId: UUID!) {
createNamespace(
name: $name,
organizationId: $organizationId
) {
namespace {
id
}
errors {
message
type
}
}
}
[machinebox/graphql] >> headers: map[Content-Type:[application/json; charset=utf-8] Accept:[application/json; charset=utf-8] Authorization:[TOKEN] User-Agent:[circleci-cli/0.1.1237+5196715]]
[machinebox/graphql] << {"data":{"createNamespace":{"namespace":null,"errors":[{"message":"AUTHORIZATION_FAILURE","type":"AUTHORIZATION_FAILURE"}]}}}
Error: AUTHORIZATION_FAILURE