Error Handling for Synchronous + webhook & Asynchronous Endpoint

1. Synchronous, using webhook For example, when input validation fails, is that error sent via webhook, or is it immediately responded to as output? 2. Asynchronous If an error occurs before performing a long-running task, can we send that error as an immediate response? It seems like there's something like return_aggregate_stream, but I'm not sure how to receive that response. Should we do a GET /run? Or does the yielded result come directly as a response to POST /run?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server