allUpdated 2026-08-11

Common Errors

What this covers

A reference table of error messages returned by Tessallite services and the Gateway, grouped by category.

Connection errors

Error messageLikely causeResolution
FATAL: database "X" does not existWorkspace slug wrong in Database fieldVerify slug with Tenant Admin. Slug is case-sensitive.
FATAL: password authentication failed for user "X"Wrong username or passwordUse Tessallite email and password. Reset via Admin panel if needed.
Connection refused (port 5433)Gateway not running or wrong hostCheck: docker compose ps gateway. Verify hostname and port.
SSL SYSCALL error: EOF detectedServer requires SSL, client not configuredAppend ?sslmode=require to the JDBC URL or enable SSL in client settings.

Query errors

Error messageLikely causeResolution
ERROR: column "X" does not existSchema drift — column renamed or removed in sourceModel Builder → Health tab → fix schema drift → re-publish and rebuild aggregates.
ERROR: Query timeout exceededQuery exceeded workspace timeoutIncrease timeout in Workspace Settings, or ask Modeller to build a matching aggregate.
ERROR: permission denied for schema "X"DB user lacks read access to source schemaGrant USAGE on schema and SELECT on tables to the Tessallite database user.
Unknown column(s) X in model "Y". Complex SQL may only reference columns exposed by the deployed model.The query names something the model does not publish. Usually a typo, or a column that exists in the source table but was never added to the model.Check the spelling against the model's field list. If the column really is in the source but missing from the model, ask the Modeller to add it and re-deploy. Naming your own result — SUM(amount) AS total — and then sorting by it (ORDER BY total) is fine and does not cause this.
Same message, but the name is one you created in the query and used in GROUP BYGrouping by a name the query invents is not accepted yet in a single query block, because the platform cannot tell it apart from a source column of the same name.Either repeat the expression in the GROUP BY, or wrap the calculation in a WITH block and group in the outer query. Both are ordinary SQL and both work today.

Aggregate errors

Error messageLikely causeResolution
Aggregate build failed: write permission deniedScheduler cannot write to target schemaGrant CREATE TABLE, INSERT, DROP TABLE on target schema. See Aggregates Not Building.
Aggregate build failed: source timeoutSource query timed out during aggregate buildReduce aggregate grain or increase source query timeout.
Aggregate retiredOptimizer retired unused aggregateRe-create manually in Model Builder, or lower the retirement threshold.

Related