hey basically currently i am learning about appwrite database. so when user signup and a button gonna render on there screen and then when user click on that button then i have created some array data so that data gonna be added inside database but next time when same user logged in and then click on that button then console give the error console is
saying AppwriteException: Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.
but i want every time same user logged in then there data gonna be added to there id only not any unique id , if you need more clearity of the problem please let me know
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...