Skip to content
Back

Random function timeouts

  • 0
  • Functions
  • Cloud
Aria Realty
6 Jan, 2026, 19:30

Sometimes my function runs without issue and I can see my logs in the Logs tab on cloud.appwrite.io. Other times, the function fails with a 500 status code, the error Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.\nError Code: 408 and an empty Logs tab (No logs found). I have a Function was called log right at the start of the function. If in the 500 cases that log entry doesn't appear, does this imply this is an issue with Appwrite and that my function code never even gets run?

TL;DR
Developers experiencing random timeouts with their function where sometimes it runs successfully with logs visible, and other times it fails with a 500 status code and a timeout error. If the initial log entry doesn't appear in the failed cases, this suggests the function may not be getting executed. The solution is to either switch to asynchronous execution or ensure the function runtime stays under 30 seconds.
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