Rank 1: Thread
I have a collection with team permission to delete, but when I try to delete a document from my Flutter app, I get ‘user unauthorized’ error. (I can perform other operations with team role account.
Votes
1
Replies
22
Participants
Unknown
Messages
23
Rank 1: Thread
I have a collection with team permission to delete, but when I try to delete a document from my Flutter app, I get ‘user unauthorized’ error. (I can perform other operations with team role account.
Rank 1: Thread
it throws same error even if I make "Any" role to be delete all operations
Moderator
You're using cloud or self-hosted?
Moderator
If self-hosted, what version?
Rank 1: Thread
self hosted, 1.3.x
Moderator
What's the appwrite SDK version you're using?
Rank 1: Thread
9.0.1
Moderator
Hmm that seems to be correct for the version you're using
Moderator
Are you sure that you have the app added in the dashboard?
Moderator
As platform
Rank 1: Thread
yep, I am using all other functionalities wtihout any problem
Rank 1: Thread
but there is a problem with only delete operation
Rank 1: Thread
I did not tried deleting documents from other collections but in anyway I need to be able to delete from that collection too
Rank 1: Thread
and as I said, even if I put "any" role to be able to delete, it throws same error
Moderator
Could you please send the exact error and the error being shown after running docker compose logs appwrite?
Rank 1: Thread
Okay I will send it when I try
Rank 1: Thread
sorry for late reply
Rank 1: Thread
Rank 1: Thread
it is very weird
Rank 1: Thread
yesterday, the collection that I get error, now I can delete on that collection
Rank 1: Thread
but now I cannot delete in some other collection
Rank 1: Thread
same error
does the colleciton have relationships? Does the user have access on the related documents?