Back

Error: e._formData.get is not a function

  • 0
  • Web
  • Cloud
Bilo
26 Mar, 2024, 13:44

"appwrite": "^14.0.0", "node-appwrite": "^12.0.0", "next": "14.1.4",

hey, im facing this error when using nextjs server actions with appwrite, the error is only in dev mode, but when i build the application with next build, it works normally.

TL;DR
Error message: e._formData.get is not a function when using Next.js server actions with Appwrite in dev mode. - Cloud does not support those SDK versions. - Check this support thread for a solution: [Discord Support Thread Link]. - The issue will be fixed in the next SDK release according to Steven's response in another support thread with the same error. - SDK versions used: "appwrite": "^14.0.0", "node-appwrite": "^12.0.0", "next": "14.1.4". Solution: Building the application with Next.js resolves the issue; it only
Kenny
26 Mar, 2024, 13:48

If you're using cloud, clould does not support those versions of the sdks. Also, take a look at this support thread. It's what I used to resolve the issue on a personal project.

https://discord.com/channels/564160730845151244/1193874699915112448/1193939706644279437

If that doesn't work it looks like Steven said in another support thread with the same error, it will be fixed in the next release of the sdk.

https://discord.com/channels/564160730845151244/1220969241172512808

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more