#Router API - Problem array select data form db.

17 messages · Page 1 of 1 (latest)

river scarab
#

what's the issue though

meager crow
#

i have error "500", using my code

river scarab
#

and what does your console say?

meager crow
river scarab
#

in the server...?

meager crow
#

i use vercel, and i don't have error in vercel deployement

river scarab
#

is that database code in the client or in the server?

meager crow
#

bah in a database, online, my database is "permissions". Linked with prisma

river scarab
#

right, but is the code you showed, that interacts with the database, in the client or server

meager crow
#

I personally don't understand the difference

river scarab
#

do you have a separate frontend and backend?

meager crow
#

yes

river scarab
#

is the code you showed in the frontend or backend

meager crow
#

back

river scarab
#

there should be a more detailed error log in your backend's console, check that

meager crow
#

if I publish here, it's because I have nothing, on VSCode

river scarab
#

sounds like you're silently catching an error then