vercel errors
Unanswered
American black bear posted this in #help-forum
American black bearOP
Hello.
A random team in my app is getting a 500 status code from one of my endpoints. Vercel doesn't give any valid stacktrace/error message. Does anybody have any tips on what I should do to debug this? Is there a way I can obtain a stacktrace somehow?
A random team in my app is getting a 500 status code from one of my endpoints. Vercel doesn't give any valid stacktrace/error message. Does anybody have any tips on what I should do to debug this? Is there a way I can obtain a stacktrace somehow?
10 Replies
go to logs @American black bear and then filter by error level
@Arinji go to logs <@622469622372892726> and then filter by error level
American black bearOP
Hi, I was on logs. I don't have an issue finding the logs. The logs do not include any valuable information that helps me understand what error occured on the server.
you can run it locally with local build
npm run build
npm run start
npm run start
American black bearOP
i cannot recreate the error locally
everything works fine for me in production, and locally. Its a random team/user that gets this 500 error code.
I was hoping vercel would include what error caused it to return 500, but it does not. I'm unsure how I can get access to this information.
@American black bear i cannot recreate the error locally
quick question, do you use env variables in your project?
@Arinji quick question, do you use env variables in your project?
American black bearOP
Yes, and I have ensured they are correct
American black bearOP
bump. Still having this issue.