Skip to content
Back

The current user is not authorized to perform the requested action.

  • 0
  • 12
  • Auth
  • Web
  • Cloud
k_vasen
8 Jan, 2024, 14:58

I am try to list the document of products on client side. But it is showing The current user is not authorized to perform the requested action. It worked for me before. I have tried many times but this error keep showing.

TL;DR
User is having authorization issues with Appwrite, specifically with deleting parent items. Others are facing similar problems and suspect it may be a bug. The issue seems to have persisted across different versions and is affecting multiple users. It is recommended to create new posts for specific cases.
k_vasen
8 Jan, 2024, 15:00

{ "message": "The current user is not authorized to perform the requested action.", "code": 401, "type": "user_unauthorized", "version": "0.12.32" } This is the reponse I am getting

k_vasen
8 Jan, 2024, 15:00
k_vasen
8 Jan, 2024, 15:01

When the user is logged out. It is working

k_vasen
8 Jan, 2024, 16:13

Any help??

Mohammed Anas
8 Jan, 2024, 17:02
Mohammed Anas
8 Jan, 2024, 17:02

works fine on local instance of appwrite

Mohammed Anas
8 Jan, 2024, 17:03
ideclon
8 Jan, 2024, 17:33

Do you have Document Level Permissions enabled?

k_vasen
8 Jan, 2024, 18:32

Yes... Document level permissions are enabled

k_vasen
8 Jan, 2024, 18:33

Any users can read...

k_vasen
8 Jan, 2024, 18:33

It worked properly few days before....

k_vasen
8 Jan, 2024, 18:33

It may be a bug idk.. 😐

25 Feb, 2024, 01:41

I'm also experiencing same issue

25 Feb, 2024, 01:43

Everything was working , took a nap and came back to a broken app

12 May, 2024, 23:53

Facing the same thing... Hopefully it's my code or whatever, and not AppWrite itself... Cause if app has this kind of intermittence, how can it be in production?

23 Jun, 2024, 14:02

<@734801586207064165> If you have a relationship on the collection with other collections then you need to add the same permission to the other collections as well.

6 Aug, 2024, 20:36

Anybody figure out if this is a bug? I have a similar issue where it was deleting before and it's not deleting now. It deletes the children, but not the parent. There is a cascade delete as well. This works when I manually delete from the dashboard. If i delete the parent, the children delete as well.

6 Aug, 2024, 20:44

When it stopped working I check the online version and it worked. Checked again today, it doesnt work online now too.

7 Aug, 2024, 14:31

<@1087889306208718959>

11 Nov, 2024, 23:51

Same thing here, i'am tired of all this shit !!! Every month since i use Appwrite there is a bug , something work for month and suddenly stop working.

11 Nov, 2024, 23:56

I already know my next bug, i think the 2 December (1969)

12 Nov, 2024, 01:14

what is right is that I get this error when creating a new user, but in reality all worked the new user has been created in the database and I can log in. Clear evidence that the problem comes from them. especially since I did not have the error a few weeks ago

12 Nov, 2024, 10:38

Please, create a new post for this

12 Nov, 2024, 10:51

Already done , thanks for the tips

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more