Skip to Content

Error codes

DBN-QRY-001

The warehouse found a syntax error in the query.

CategoryWhose side
QueriesYour warehouse

What this means

The warehouse found a syntax error in the query.

What to check

  1. Check the SQL of the metric or the custom column.

Query error reason

On a failed query, an embed or the API gets this code with the error E1005 and the reason QUERY_INVALID.

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.

On this page