Prisma5.22.0 + Next.js on Kubernetes → intermittent invocation errors

I’m running a Next.js 14.2.23 app with Prisma ORM 5.22.0 and MongoDB Atlas Serverless. Locally everything works perfectly (I’m using the same Prisma schema pointed at a dedicated/dev cluster). In production (Kubernetes pods) I’m seeing invocation failures sometimes that crash the site. Does anyone know what happen with this?. I'll attach the full pod log and the prisma schema for your reference. 🖥 Environment • Prisma: 5.22.0 • Next.js: 14.2.23 • Database: MongoDB Atlas Serverless • Deployment: Docker containers on Kubernetes • Node: 20.x
3 Replies
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
stoXmod
stoXmodOP2w ago
#ask-ai
Nurul
Nurul2w ago
Hey 👋 To confirm, you get this error intermittently: Error converting field "senderId" of expected non-nullable type "String", found incompatible value of "null". So, not all queries fail with this error, only some of them do. Even if senderId is not null?

Did you find this page helpful?