I’m getting: Error: AUTHORIZATION_FAILURE
when I run:circleci namespace create
I’ve setup my circleci cli tool with my api token which completed successful.
Here’s the debug output:
>> variables: map[organizationName:Pasabi organizationVcs:GITHUB]
>> query: query($organizationName: String!, $organizationVcs: VCSType!) {
organization(
name: $organizationName
vcsType: $organizationVcs
) {
id
}
}
<< request id: c6f3eab8-1a2e-44d6-bf23-b25f2765a6fe
<< result status: 200 OK
<< {"data":{"organization":{"id":"850a0abc-1e35-436e-bf67-bde4d942c16a"}}}
>> variables: map[name:pasabi organizationId:850a0abc-1e35-436e-bf67-bde4d942c16a]
>> query:
mutation($name: String!, $organizationId: UUID!) {
createNamespace(
name: $name,
organizationId: $organizationId
) {
namespace {
id
}
errors {
message
type
}
}
}
<< request id: d79c4607-2ffb-40a4-88c9-c085ac9896eb
<< result status: 200 OK
<< {"data":{"createNamespace":{"namespace":null,"errors":[{"message":"AUTHORIZATION_FAILURE","type":"AUTHORIZATION_FAILURE"}]}}}
Error: AUTHORIZATION_FAILURE