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
- Functions Problem
Whenever I run my AI Generate through Appwrite Functions, I am getting this Call Stack AIService.generateServer (src\services\ai\gemini.ts) next (<native>) ...
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...