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
I am getting a very high number of errors stating that the body has already been consumed:
Body is unusable: Body has already been read
I can't reproduce this in local Dev environment, this is only occurring in Production. The app is deployed on Vercel. I am wondering if this has something to do with middle-ware being inserted into the stack by Vercel.
Has anyone run into this problem? Is there is anything I can do to alleviate the issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have fairly straight-forward code on one particular endpoint called
/push_notifications.json
that has the following code:I am getting a very high number of errors stating that the body has already been consumed:
I can't reproduce this in local Dev environment, this is only occurring in Production. The app is deployed on Vercel. I am wondering if this has something to do with middle-ware being inserted into the stack by Vercel.
Has anyone run into this problem? Is there is anything I can do to alleviate the issue?
Beta Was this translation helpful? Give feedback.
All reactions