Skip to Content

Error codes

DBN-AUTH-002

The token is not valid for this workspace.

CategoryWhose side
Sign in and tokensA setting you control

What this means

The token is not valid for this workspace.

What to check

  1. Check that the token was issued for this workspace.
  2. Check that the API key or guest token was not revoked.

Still stuck?

Every error shows a Ref, for example 7F3A91. Share the ref you see with support.

  • In the app: the error message has Copy ref. If your company has Diagnostics, an Admin also sees View in Diagnostics (or opens Settings > Diagnostics > Logs and searches for the ref), and anyone sees Ask for help.
  • On a chart card, in an embed or in the app: select Details on the error, then Copy next to Ref for support. If the card is too narrow for Details, hover over the error to see the ref.
  • In an API response: read ref in the error body. A query error has it in details.ref.

On a self hosted install, also run databrain-diag on the Docker host and attach the masked support bundle it writes.

On this page