Supavisor connection error: FATAL: (EAUTHQUERY) unsupported or invalid secret format
Last edited: 9/9/2026
If you are observing a FATAL: (EAUTHQUERY) unsupported or invalid secret format error when connecting to the Supavisor pooler (ports 5432 or 6543), it typically indicates an issue with the database role's credentials.
Why does this happen?#
This error occurs when the custom Postgres role used for the connection has an expired VALID UNTIL timestamp. When a role is expired, the internal authentication query used by Supavisor returns a null password secret, which prevents the pooler from completing the SCRAM authentication process.
How to resolve this issue#
You can verify and update the role's expiration status via the SQL editor:
- Identify if the role has expired by running the following query:
select rolname, rolvaliduntil, rolvaliduntil < now() as expiredfrom pg_authidwhere rolname = 'example_role';
- If the
expiredcolumn returns true, update the role to extend or remove the expiration limit:ALTER ROLE example_role VALID UNTIL 'infinity'; - Re-attempt the connection using your Supavisor connection string.
If the issue persists or the role is not expired, reach out to supabase.help for assistance.