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 message shows a Ref, for example Ref 7F3A91. Open
Settings > Diagnostics > Logs and search for the ref to see the full
log line, or select Ask for help in the message. On a self hosted
install, also run databrain-diag on the Docker host and attach the
masked support bundle it writes.