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
Hello @FynniX
This happens due to the limitations of Next.js "Edge runtime" and the usage of Axios under the hood of the Mailgun.js
With this combination (Axios + Edge runtime), the "Boundary" header for multipart/form-data is never set.
I will work on this in the near future.
As for now I can suggest few options on how to avoid the issue:
Move the usage of Mailgun from the middleware to the route resolver.
Hello,
when I want to use this inside next.js in the edge runtime, then I get a error.
The error happens when I want to use the FormData from next.js edge runtime api.
The text was updated successfully, but these errors were encountered: