esly nunez
esly nunez
+1 pls pantheon pls.
Here in 2024 with the same question. Will update with a comment for any poor soul that ends up here looking for an answer
Additional work around to get the desired response is to access the `Response` object from the req `Request` object like so. `req.res.status('401').json({ message: "unauthorized"})` While this will return a desired...
Follow up! setting the `initApp` express error middleware does not capture errors for custom error response. ``` initApp: (app) => { app.use((err, req, res, next) => { res.status(400).json({"message": "Why can't...
@pdevine running into this issue as well. @kiran-kumar-akula seems to be referencing the POST method in their notes NOT the GET method. Could this be reopened?
I missed that you are correct thank you, @pdevine
@AllenFang I am sorry to hear that, I hope you feel better! I came here with the same issue. Is there a work around example?