
I keep getting this error when creating a document.
AppwriteException [Error]: Attribute with the requested ID already exists. Try again with a different ID or use "unique()" to generate a unique ID.
This is the line of code that is breaking ``` const data = { Email: Email, accountId: accountId, collectionId: collection.$id, };
let dataLink = await databases.createDocument( "64502243369b884d71f8", "647295a5228d3bd685da", ID.unique(), data );``` Here is the imports
import { PUBLIC_API_ENDPOINT, PUBLIC_PROJECT_ID } from "$env/static/public";
import { PRIVATE_API_KEY } from "$env/static/private";```
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
