500 (Internal Server Error) from simple query
I am running the following query:
Where client.ts is:
And I have a populated Service table in my Supabase (see attached screenshot). I run npx prisma generate just to make sure my prisma instance is up to date but whenever I reload the page, which sends another get request, I get a 500 Internal Server Error.
Hello World1 will print while Hello World2 won't, so the issue has to do with querying the databse.
Any idea what the issue might be? Thank you for your guidance
1 Reply
Hi @gaurav1998 👋
Can you modify the catch block to log the actual error? This will provide more insight into what is going wrong. Once the error is logged, you can share it here.