Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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