PANIC: no entry found for key in query-engine/prisma-models/src/record.rs:67:33
See original GitHub issueBug description
Invalid `prisma.product.findFirst()` invocation:
PANIC: no entry found for key in query-engine/prisma-models/src/record.rs:67:33
This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
When query data from database at runtime
How to reproduce
It’s happen randomly to resolve I’ve to redeploy layer that contain Prisma engine
Expected behavior
No response
Prisma information
Prisma query happen randomly
Environment & setup
- OS: Linux on AWS Lambda
- Database: PostgreSQL
- Node.js version: 14 on Lambda
Prisma Version
3.13.0
Issue Analytics
- State:
- Created a year ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
RwLock<HashMap> no entry found! - help
It is a logic error for a key to be modified in such a way that the key's hash, as determined by the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The panic happens because the QE tries to order by (in-memory) a field that does not exist. Given that we have no other issue with that panic and that you unfortunately can’t reproduce it either, I’m gonna close your issue for now since there’s not much more we can do.
If it ever happens again, please re-open that issue and let us know as much as you can.
Thanks for reporting 🙏
Hi @Weakky ,
Thank you for following up on this issue. It never happened again since that day not sure why. Other things come to my mind I would like to ask. Is it possible that AWS Lambda running out of memory on runtime can cause this?