If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
500 (Internal Server error)
What is your best guess as to the source of the problem?
The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.
What things have you already tried to solve the problem?
Restarting the server/client in terminal, restructuring my code numerous times, and using other examples to help fix the post routes
First maybe clear your chrome data just to make sure it's not a browser issue? Then we can look at those lines that are flagged as well as the type error.
What stack are you using?
(ex: MERN(mongoose + react), DR(django + react), PEN, etc.)
MERN
What's the problem you're trying to solve?
requireToken is having to be removed throughout my routes and I am running into a server error
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
500 (Internal Server error)
What is your best guess as to the source of the problem?
The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.
What things have you already tried to solve the problem?
Restarting the server/client in terminal, restructuring my code numerous times, and using other examples to help fix the post routes
.