Hello, I'm using a function in Appwrite and the GET and POST method works well, the POST method creates a user with the method users.create() , but when I try the DELETE method it tells me {"error":"User with the requested ID could not be found."}, I have this error when I use an ID to find a user, because when I try to add to team a user just created I'm having the same message.
I get the body values there: const { email, password, name, id } = req.body; and to delete a user I use await users.updateStatus(id, false);
Thanks
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...