You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot set headers after they are sent to the client
File "/opt/del/dist/src/Routes/bots.js", line 3248
return res.status(400).json({
...
(1 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
Based off of what I can tell, this happens because in .catch(), it returns return res.status(400).json(), but then outside of the .catch(), there is a res.redirect() for successful events. Will just move res.redirect() to the bottom line within the .then() part.
Sentry Issue: WEBSITE-8B
The text was updated successfully, but these errors were encountered: