Replies: 4 comments 2 replies
-
I am experiencing the same issue. export async function POST({ request }: { request: Request }) {
const data = await request.json();
... |
Beta Was this translation helpful? Give feedback.
-
Same thing here. Hosted on Gcloud
|
Beta Was this translation helpful? Give feedback.
-
It seems unlikely because you said it works locally but could you confirm if there are any hooks in |
Beta Was this translation helpful? Give feedback.
-
any updates on this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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