Prisma ORMRunbook 0/2 done
P6004
Prisma ORM Error P6004: Accelerate query timeout
Error↻ Retryable · exponential backoffHTTP 504 Gateway TimeoutAPI Gateway
TL;DR · 10-second read
A query through Prisma Accelerate exceeded the global query timeout. Add indexes, paginate large reads, or raise the limit in the Accelerate project settings.
Identify: does your log match?
What you see · exact log / response
PrismaClientKnownRequestError: The global timeout of Accelerate has been exceeded.
code: 'P6004',
meta: { modelName: 'Report' }Fix
Being written
Copy-paste fixes for P6004 are in the enrichment queue
The summary above is verified. Paste your full trace into the decoder for a diagnosis now.
Open the decoder →Related errors
Last verified 2026-10-05 · Source: Prisma error reference P1000–P6010 · Official docs ↗ · ~1,300 searches/mo