Back

Async function response body

  • 0
  • Functions
  • Cloud
louga31
9 Feb, 2024, 15:18

Hi, I need to execute one of my function in async due to the 30 seconds timeout. When I try to use getExecution I get an empty body. I saw from a github issue that I need to: " You'll need to store the data somewhere and fetch it there." How am I supposed store the data if it was never sent by the server ? (when creating the execution, or when getting it)

TL;DR
Title: Empty response body when executing async function Message: Hey developers! I'm trying to execute my function asynchronously because of the 30-second timeout. However, when I use getExecution, the response body is empty. I read on a GitHub issue that I should store the data somewhere and fetch it from there. But how can I store the data if the server never sent it during the execution creation or retrieval process? Is there a solution for this?
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