
I want to delete a document as a user (which has document permissions including delete), the document has a relation (the user has also document permissions on that document including delete).
I keep getting AppwriteException: The current user is not authorized to perform the requested action.
The typescript code I use to delete the document:
export async function deleteDocument(id: string) {
return await databases.deleteDocument(
DATABASE_ID,
COLLECTION_ID,
id
);
}
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...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- [bug] API response is good but UI don't ...
Hi guys! When i got my object, it have billingInfo relation, in the web ui i just got pading state, and the row shows object is null, but when i work whit this...
