findMany bug
See original GitHub issueBug description
const result = await prisma.thread.findMany(); // error 500 why?
const result = await prisma.$queryRaw`SELECT * FROM thread`; // success
it should be the same right or is something different ? im using aws lambda and prisma 3.7.0
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
- OS: Mint
- Database: Postgres
- Node.js version: 14.17
Prisma Version
prisma 3.7.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Prisma fails on Postgres query with findMany - Stack Overflow
I work at Prisma btw and this is most likely a bug that we'll want to fix. Do you mind reporting this in...
Read more >Error message reference - Prisma
Prisma Client throws a PrismaClientUnknownRequestError exception if the query engine returns an error related to a request that does not have an error...
Read more >Intermittent prisma crashes - RedwoodJS Community
Error : GraphQL error: Invalid prisma.product.findMany() invocation in /var/task/src/api/dist/services/products/products.js:14:25 Unknown ...
Read more >Contacts for insects | UMN Extension
Have an insect question? You can find many answers on this website. Identify your insect View photos and descriptions of insects that you...
Read more >find many bugs in systems code EXE: EXecution generated ...
Goal: find many bugs in systems code ... exit() or error: solve constraints for input. ... exists that causes error such as div...
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
run: yarn prisma:generate
added this to my .github/workflow/main.yml and its returning 200
its kinda weird why on my other routes its working , cached maybe? btw thanks you can close this now
Can you give some more context into the code? A copy of the schema?
Are you getting a more specific error message that might be helpful?