updateDocument() throws "document_already_exists" error instead of updating existing document
- 0
- Databases
- Web
- Cloud
Hi guys, im using server sdk to update appwrite attribute value which relationship type. But facing "document_already_exists", may i know why?
let updated = await databases.updateDocument( process.env.APPWRITE_DATABASE_KEY || "DEFAULT_DATABASE_ID", process.env.APPWRITE_DESCENDANT_IDENTITY_CREDENTIALS || "DEFAULT_DESCENDANT_IDENTITY_CREDENTIALS", id_dic, { mobile_device: "1dcffa65-7f23-4c08-a7f2-2358d59a621e", } );
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...