S
Supabase2mo ago
SOFun

PostgresError: Tenant or user not found

I am experiencing a connection/authentication issue with our staging database and would appreciate your help. One of our developers is consistently receiving the error "PostgresError: Tenant or user not found" when trying to connect to the database from their local environment. This is blocking their development work on our staging setup. We are trying to determine if this is a fundamental database credential/network issue or an error coming from our application's logic (like a database function). So far, we have: Attempted to connect directly to the database using psql with the provided Shared Pooler connection string to rule out application code. Verified we are using the correct host, port, user, and password from our secrets manager. Confirmed this is not an application-level auth token issue. Any insight you can provide would be extremely helpful in isolating this problem. Thanks
No description
1 Reply
garyaustin
garyaustin2mo ago
You mention tenant error at the top. That is typically using just postgres for user instead of postgres.instanceid. But your example image shows using the correct format (unkown if id is correct) and getting a password error. Does the password have special characters in it? That can cause issues if sending the url string as they have to be encoded. Your example though seems to say you are not using the string though...

Did you find this page helpful?