Response status_code 202 when Triggered by Webhook

Options

When triggered by webhook, the response always show 202 Timed out after waiting 25 seconds for run to complete

Answers

  • Sean_510793
    Sean_510793 Posts: 69 admin
    Options

    Hi @XIA_175253 , there is a 25 second timeout on the webhook trigger. If you have a longer running workflow, would it work to set the webhook to be asynchronous? Set the webhook "Wait for process to complete" to false and then add a Web API action in the workflow that will call out to your API with the results when it is complete. Or alternatively, if you are unable to open an inbound API call, you could put the results into a Table. And then set up a second webhook trigger that will pick up the table. You could either coordinate it with something like an email when it is complete or just set enough time that it is likely to have completed, but poll until it does. I hope this is helpful!