Error codes
DBN-TEN-801
The guest token names a table that is not in the workspace of its data app.
| Category | Whose side |
|---|---|
| Tenancy | A setting you control |
What this means
The guest token names a table that is not in the workspace of its data app.
What to check
- Compare the workspace in the log message with the workspace your guest token is made for.
- In the guest token request, use only tables from the datamart of that workspace, in app filters and in their SQL.
- If the table must be in this workspace, add it to the datamart of the workspace, then sync the schema.
- If it still fails, ask for help with the ref.
Example
The SQL app filter in the guest token reads orders, but the app filters of the data app are on workspace PRE, and orders is only in the datamart of workspace TEST. The log row for the ref says:
Table "orders" is not in workspace "PRE". The guest token's app filter runs on workspace "PRE"; the table belongs to workspace "TEST". Check which workspace your guest token is made for, or use a table from the "PRE" datamart.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
refin the error body. A query error has it indetails.ref.
On a self hosted install, also run databrain-diag on the Docker host and attach the masked support bundle it writes.