I am trying to deploy an application I created using the C8Y CLI.
I try to run the c8ycli deploy
command which then displays the deployment wizard in my terminal. According to the deployment process I need to provide it with my tenant URL, username, and name.
However, now it’s also asking for my tenant and I am not sure what to provide it with. I have supplied it with my tenant ID, the tenant name that is included in my URL, and tried to skip it by simply hitting enter, but regardless it returns the same error message:
Create application failed:
{
res: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [PassThrough], disturbed: false, error: null },
[Symbol(Response internals)]: {
url: 'https://novanta.us.cumulocity.com/tenant/currentTenant',
status: 401,
statusText: 'Unauthorized',
headers: [Headers],
counter: 0
}
}
}
I have full admin rights, so I am not sure why it would return a 401 error at all.