I'm getting a lot of "Unknown error occurred" logs - is this something wrong with the function? I'm passing in same input each time, with the function running the same logic, so I was surprised at this sort of behavior.
I also tried to re-deploy with no luck.
Can you share your project ID? Also, how often is this happening for you?
this is the first time we've ever seen this happen to one of our functions - never had a problem before. This specific issue just popped up while this function was wrapping up on development.
Project ID: ||65ef90aedf3f2b5af0bb||
thanks for the quick response!!!
Can you tell how many errors like this you're seeing in total?
yeah lemme take a look quick
and when the first and last one or if you can share a screenshot of the failed ones
looks it happened about 10 times - first started about 30 mins ago -
This was the first occurrence:
and the most recent occurrence about 10 minutes ago:
Thanks!
This is what I found so far. We record all 500 errors, nothing shows up for your project in the 12 hours. This error seems to be an application level error and not something Appwrite throws. Any chance this coming from your source code? Are you relying on some 3rd party?
Or could it be you're calling the Appwrite API from within your function? Can you share any errors code or information you got from the request in that case?
hmm let me triple check my function to make sure it's not something there. i've never had this happen before so i wasn't sure if this was truly on appwrite's side
thank you for the help anyway! i'll mark this as solved for now, and if i continue to have issues I can't sort out i'll create a new issue :parrotlaptop:
From a first glance it seems like the function execution part is just fine. Problem could be inside the code, if it is the Appwrite API, we can try and help with that as well.
okay i'll let you know! thank you again!!!!
[SOLVED] Function Executions Randomly Fail
Recommended threads
- Appwrite docs mcp server 502 bad gateway
I added the appwrite docs mcp server to vscode following the docs https://appwrite.io/docs/tooling/mcp/vscode#step-1 but upon start it gives the following error...
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...