Skip to Content

Error codes

DBN-CFG-402

Diagnostics token encryption is not configured.

CategoryWhose side
Settings and inputA setting you control

What this means

Diagnostics token encryption is not configured.

What to check

  1. Set DIAG_TOKEN_KEY to a 32 byte key.
  2. Reconnect the integration after setting the key.

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