N
Neon2y ago
ambitious-aqua

ConnectorError prepared statement \"s0\" does not exist

So I am getting this error manifesting, but in a weird way that seems counter to everything I could find on it. Basically I am accessing this database using prisma from a different application in a monorepo that is not hosted on vercel. I have the following settings on the URL ?sslmode=require&pgbouncer=true&connect_timeout=15&statement_cache_size=0&schema=public and I have a non pooling url configured for direct connection. The odd thing is that the connection will allow two queries to work successfully, then on second run of the process that hits the db with these two queries, I get the error. Any ideas?
1 Reply
adverse-sapphire
adverse-sapphire2y ago
Hey, you mentioned you're using a direct (non pooler) URL. There's no need to set pgbouncer=true in that case. I'm not sure that'll solve the problem, but it's worth trying.

Did you find this page helpful?