I’ve been trying to set a tag for my device so I can try how staging-release works, however I’ve run into an BalenaRequestError: Request error: Unauthorized
.
I’m successfully logged in with email and password credentials. Tried logging in with a token, to see if there would be any different behaviour, but there’s no change.
Running DEBUG=1 balena tag set TEST --application testApp2
results in:
BalenaRequestError: Request error: Unauthorized
at C:\snapshot\resin-cli\node_modules\balena-request\build\request.js:197:17
at tryCatcher (C:\snapshot\resin-cli\node_modules\bluebird\js\release\util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (C:\snapshot\resin-cli\node_modules\bluebird\js\release\promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (C:\snapshot\resin-cli\node_modules\bluebird\js\release\promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (C:\snapshot\resin-cli\node_modules\bluebird\js\release\promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (C:\snapshot\resin-cli\node_modules\bluebird\js\release\promise.js:694:18)
at _drainQueueStep (C:\snapshot\resin-cli\node_modules\bluebird\js\release\async.js:138:12)
at _drainQueue (C:\snapshot\resin-cli\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (C:\snapshot\resin-cli\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.e.Async.drainQueues (C:\snapshot\resin-cli\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
Any thoughts? It seems strange that I can log in just fine, but receive Unauthorized errors. Unless I’m missing some configuration.