Error handling
There are some limits to keep in mind.
Time-out limits
API flows are synchronous end to end. The duration of the flow must be less than the global gateway time-out, which is 5 minutes. For asynchronous requests the time-out limit can be up to 2 hours.
The duration of each individual task must be less than 5 minutes. If a step results in a failure, then the API flow is stopped and a time-out error message is displayed.
Payload Limits
Request and Response payload size for whole API Flow should be less than 5 MB
Request and Response payload size for individual ION API task should be less than 3 MB.