I created an appwrite function which is scheduled to run daily. Using this function I reset the order number in my database to 0.
I see that some days this function runs successfully, some days it fails saying: AppwriteException: The current user is not authorized to perform the requested action. If this was the case wouldn't I get this error every time.
I am attaching the Appwrite function, failure message and success message. Could someone please help me with this?
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...