Why does await request.formData(), work only on edge? #68106
Unanswered
alexnguyen98
asked this question in
App Router
Replies: 1 comment 2 replies
-
|
It should work fine in Node.js though 🤔 What Node.js version do you have in your deployed version? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When i tried
await request.formData()locally it worked correctly, but when i tried on production it kept saying it could not parse FormData. Only after I changed the runtime into edge it worked. The documentation is not clear and transparent about those requirements.Beta Was this translation helpful? Give feedback.
All reactions