Back

Cloud Function trigger through URL: "function synchronous timeout"

  • 0
  • Cloud
Arnold
9 Aug, 2024, 04:58

It says clearly that in function we can trigger up to 15 minutes. however, it's seems we can only have 30 seconds for sync call. It shows as in the attached picture.

Many documentation says i should use async param, but only when i trigger it programmatically. But how if I run it using URL? pass in URL param?

Anyway, I can't run it asynchronously in my use case. Any alternative to make it callable synchronously >30 sec?

TL;DR
Developers having trouble triggering a Cloud Function via URL due to a synchronous 30-second timeout limit. Documentation suggests using the async parameter for longer executions, but this isn't feasible for the user's case. No clear solution for synchronous calls exceeding 30 seconds is evident.
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