Skip to content
Init is coming / May 19 - 23
Back

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

  • 1
  • Databases
ASHQKING
17 May, 2025, 09:54

There is an error i am facing:

2025-05-17 09:32:05,387 - __main__ - ERROR - Appwrite Exception checking subscription for guild 1025382753790865508: The current user is not authorized to perform the requested action. Traceback (most recent call last): File "/opt/render/project/src/.venv/lib/python3.11/site-packages/appwrite/client.py", line 118, in call response.raise_for_status() File "/opt/render/project/src/.venv/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://fra.cloud.appwrite.io/... During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/render/project/src/main.py", line 1981, in check_subscription_prefix result = databases.list_documents( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/render/project/src/.venv/lib/python3.11/site-packages/appwrite/services/databases.py", line 1757, in list_documents return self.client.call('get', api_path, { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/render/project/src/.venv/lib/python3.11/site-packages/appwrite/client.py", line 138, in call raise AppwriteException(response.json()['message'], response.status_code, response.json().get('type'), response.text) appwrite.exception.AppwriteException: The current user is not authorized to perform the requested action.

i checked all keys and configs, its correct. But now facing this error again and again. @Support

TL;DR
Problem: Developer is receiving an authorization error while checking a subscription using Appwrite. They have confirmed keys and configurations. Solution: The error "The current user is not authorized to perform the requested action" is due to a lack of authorization permission for the user. Check the user's permissions and ensure they have the necessary access to perform the action.
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