-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Description
Bug description
After updating Studio from 2025.10.01-sha-8460121 to 2025.10.09-sha-433e578 in a self-hosted Supabase deployment, all SQL queries in the Studio SQL Editor fail with a ZOD validation error. This is not restricted to SQL Editor but to any query, e.g. the tables can not be listed anymore etc.
Expected behavior
SQL queries should execute successfully and return results, as they did in Studio version 2025.10.01-sha-8460121.
Actual behavior
All SQL queries (e.g., SELECT * FROM boards;) fail with the following error in the network response:
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"formattedError"
],
"message": "Invalid input: expected string, received undefined"
}
]
Steps to reproduce
- Run self-hosted Supabase using Docker Compose
- Update Studio image from supabase/studio:2025.10.01-sha-8460121 to supabase/studio:2025.10.09-sha-433e578
- Restart Studio container
- Open SQL Editor in Studio
- Execute any SQL query (e.g. the default one:
select * from
(select version()) as version,
(select current_setting('server_version_num')) as version_number;
- Observe error in browser network tab as well as the result window in the Studio SQL Editor
Environment
- Deployment method: Self-hosted Docker Compose
- Studio version (broken): supabase/studio:2025.10.09-sha-433e578
- Studio version (working): supabase/studio:2025.10.01-sha-8460121
- postgres-meta version: v0.91.7
- PostgreSQL version: 17.6.1.017
- Other service versions: All updated to match local Supabase CLI 2.51.0 docker container versions
postgres-meta container logs
When queries fail, postgres-meta shows DNS resolution errors:
{"level":"error","time":"2025-10-16T12:39:32.615Z","pid":1,"hostname":"13ebe5d3de34","reqId":"req-53","error":{"code":"EAI_AGAIN","message":"getaddrinfo EAI_AGAIN
db"},"request":{"method":"POST","url":"/query","pg":"db","opt":""}}
{"level":"error","time":"2025-10-16T12:39:32.628Z","pid":1,"hostname":"13ebe5d3de34","reqId":"req-54","error":{"code":"EAI_AGAIN","message":"getaddrinfo EAI_AGAIN
db"},"request":{"method":"POST","url":"/query","pg":"db","opt":""}}
Docker Container Versions installed on self-hosted version (same as what supabase cli installs):
supabase/postgres:17.6.1.017
supabase/studio:2025.10.01-sha-8460121 (after downgrade)
supabase/postgres-meta:v0.91.7
supabase/edge-runtime:v1.69.12
supabase/storage-api:v1.28.1
supabase/postgrest:v13.0.7
supabase/realtime:v2.53.2
supabase/gotrue:v2.180.0
supabase/kong:2.8.1
supabase/supavisor:2.7.3
supabase/logflare:1.4.0
Workaround
Downgraded Studio to the previous working version image: "supabase/studio:2025.10.01-sha-8460121" - no more ZOD errors on each query.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status