2 months ago
My Node.js backend stopped working 7 hours ago when I was sleeping. It says it is online, but every request I try are failing. It was working perfectly before I went to sleep so I really don't know what happened. My Supabase database is connected successfully and is up. If anyone has any idea why that could happen, any help would be welcome, thanks!
Here are the logs :
Prisma error: {
message: '\n' +
'Invalid prisma.$queryRaw() invocation:\n' +
'\n' +
'\n' +
'Engine is not yet connected.\n' +
'Backtrace []',
target: '$queryRaw',
timestamp: 2025-12-22T13:01:33.545Z
}
Keep-alive query failed: PrismaClientUnknownRequestError:
Invalid prisma.$queryRaw() invocation:
Engine is not yet connected.
Project ID : 2ffb65b1-426a-4cfe-991f-eb8100a0c928
5 Replies
I've simply restarted my deployment and everything works, but still, if anyone has any idea why that happened please let me know 🙂
2 months ago
Seems like that a lot of people fixed it by doing the code change below:

2 months ago
But at this point I would recommend to upgrade your Prisma version to v7 as it no longer uses the Rust engine and thus the error might go away definitely
2 months ago
Plus the extra in performance might be noticeable