Skip to content
Docs
Errors

invalid_token

The value given as a CLI token is not a `dpt_` CLI token.

Kinddisko command error
disko exit code3 (auth)

disko checks the format of a CLI token before using it: dpt_ followed by 43 characters. disko login --with-token checks the token read from stdin, and disko publish checks DISKO_TOKEN. A value that does not match, such as an account password or a truncated copy, fails with invalid_token and exit code 3. The token is never sent to the registry.

Wrong

sh

Create a CLI token in the Creator Portal under CLI tokens and use the whole value, without quotes or trailing text.

sh

See also