
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one document is created and then getting error.
I am using appwrite cloud and next.js with typescript.
Error:
AppwriteException: Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.
callstack:
AppwriteException@http://localhost:3000/_next/static/chunks/node_modules_67e82ec7._.js:492:9
[project]/node_modules/appwrite/dist/esm/sdk.js [app-client] (ecmascript)/call/<@http://localhost:3000/_next/static/chunks/node_modules_67e82ec7._.js:923:23
fulfilled@http://localhost:3000/_next/static/chunks/node_modules_67e82ec7._.js:276:32
Please Help me out i am trying to solve this from last 2-3 days but there is not single solution for this.
Recommended threads
- β[Help] Function stuck in "waiting" stat...
Hi Appwrite team π I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
