unauthorized
The credential was rejected: the token or sign-in is invalid, expired or revoked.
| Kind | disko command error |
disko exit code | 3 (auth) |
A signed-in command reports unauthorized when the credential it sent was
rejected. The command exits with code 3 and never falls back to browser
sign-in.
disko publish: the registry answered401or403. The registry rejects any invalid credential, even for requests that would work without one. Typical causes are a revoked or expired CLI token, or an expired browser sign-in.disko dev: disko-master did not accept your browser sign-in when creating the test room, or, later in the session, rejected the test room's own credential, for example after the test room expired. A rejected CLI token is reported as missing_permission instead, because disko-master answers the same way for a token without thetest_roomspermission.
Fix
The message says which credential was rejected:
DISKO_TOKEN: create a new CLI token in the Creator Portal and setDISKO_TOKENto it.A token stored by
disko login --with-token: pipe a new token todisko login --with-token, or rundisko logoutto go back to browser sign-in.A browser sign-in: run
disko loginto sign in again.The test room's credential: run
disko devagain, which creates a new test room.