when the user the loggedIn , the task is preforming successfully and when the user is not loggedIn so appwrite is throwing this error
appwrite service :: getApprovedInfo :: AppwriteException: The current user is not authorized to perform the requested action.
but what i want is weather the user is loggen in or not i wanted to preform the same task any way. what approach i should use to solve this issue.
TL;DR
Developers are encountering an 'AppwriteException: The current user is not authorized' error when attempting a task with Appwrite. They want to perform the task regardless of whether the user is logged in or not. To solve this, bypass the authorization check or implement a different authorization method that allows the task to be performed regardless of the user's login status.