AppwriteException: The current user is not authorized to perform the requested action.
- 0
- Databases
- React Native
- Cloud

Attempting to delete a document from a collection, and having the following error returned:
AppwriteException: The current user is not authorized to perform the requested action.
There are no document-level permissions set. It's my understanding that document level permissions are inherited from collection level permissions, which I've set true for all CRUD operations for the User role.
Document security on all collections is disabled.
The document that I'm trying to delete was created by the same user, and so the user has the ability to create and update the document. There's another collection that is exactly the same in terms of permissions and configuration, and the user is able to create and delete documents in that collection without any problem.
The problematic collection is one setup with relationship attributes to other collections - and the referenced collections have the same permission configuration - CRUD for all users.
What could be the problem?

Btw, the relationship attribute delete behaviour is set ID to NULL on delete.

changing to cascade for all relationships also doesn't work.
Recommended threads
- Appwrite Sites - Bug in Logs
There is an issue with the Appwrite Sites Logs, JSON.stringify cannot be used on circular references, circular reference is for example this: ```js var a = {}; ...
- Why Does Appwrite Sites Require Nameserv...
My question is fairly simple — I’m wondering why Appwrite Sites requires changing nameservers instead of allowing users to configure a DNS record, like Firebase...
- Need help With smtp
Can someone with appwrite come on a call and help me connect smtp. I really need help after connecting smtp i noticed the email otp stopped working and since th...
