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.
Summary
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
Mar 26, 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.