#Are Nextjs 14 server actions supported?

1 messages · Page 1 of 1 (latest)

sharp pond
#

I am trying to implement a server action to create a user on appwrite in nextjs 14 but it is throwing "TypeError: e._formData.get is not a function" error , however if i do a simple console.log in the server action it is working fine. Is the error on my end or are server actions not supported yet?

patent furnace
#

Can you show us your code to know what are you doing? are you using the node SDK or Web SDK?

sharp pond
#

this is the server action function. I am passing the email, password and name from the signup form when the submit button is clicked

sharp pond
#

One thing I just noticed is that for the first time after running the website, it works correctly but after that, it throws the error. Please see the video