-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
NodeJSReactJsbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
🐛 Description:
When trying to upvote a PYQ, a 400 Bad Request error is returned from the backend. The response suggests a validation failure related to the branch field.
💥 Error (from network tab):
{
"error": "Failed to upvote PYQ",
"details": "pyqs validation failed: branch: Cast to ObjectId failed for value \"CSE\" (type string) at path \"branch\" because of \"BSONError\""
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
NodeJSReactJsbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers