Connection Execution Limit Exceeded v2
A Step fails when it exceeds a Connection execution limit. Use the error to find the Connection, Environment, and limit, then check whether the result or service time is expected before changing the setting.
Resolve the error
- Open the failing Step's error details in
Logs. - Identify the Connection and Environment in the message. Check whether the exceeded setting is
RowLimit,ByteLimit, orTimeoutusing the table below. - Open
Connectionsin the main navigation and select that Connection. - Select the Environment named in the error and expand
Execution limits. - Check that the request, result size, and service response time are expected. Correct an overly broad query or unexpected service behavior first. Use filtering or pagination where supported to reduce large results.
- Increase only the affected limit to a suitable finite value if the expected work needs more room. Follow Choose Connection Execution Limits rather than selecting
Unlimited. - Click
Save changes, then rerun a representative bounded sample in the same Environment.
For setup, validation, units, and partial saves, see Connection Details Screen.
Read the message
The message identifies the Step, Connection name, Environment name, and exceeded limit. It also includes a link to Connection Execution Limits. If the Environment name is unavailable, the message shows its key instead.
| Name in the error | Setting in Execution limits |
Value format |
|---|---|---|
RowLimit |
Rows. |
A row count, such as 1,000 rows. |
ByteLimit |
Stream size. |
A size in readable binary units, such as 10 MB. |
Timeout |
Active time. |
A duration in seconds, minutes, or hours, such as 1.5 minutes. |
Rows
For example, a Step receiving customer records can report:
Connection limit exceeded at Step/Node 'queryCustomers', Connection 'CRM', Environment 'Test': RowLimit: returned more than 1,000 rows (limit: 1,000 rows). Review this connection's execution limits. See https://help.flowgear.net/v2/concepts/connection-execution-limits.
returned more than 1,000 rows means the Step crossed the limit while receiving rows. It does not establish the full number of rows the service would have returned.
If the complete row count is already known, the message reports that count instead. For example, it can say returned 1,500 rows (limit: 1,000 rows).
Stream size
For example, a Step downloading a file can report:
Connection limit exceeded at Step/Node 'downloadInvoice', Connection 'Invoice files', Environment 'Test': ByteLimit: returned a stream larger than the configured limit (limit: 10 MB). Review this connection's execution limits. See https://help.flowgear.net/v2/concepts/connection-execution-limits.
This example exceeded a Stream size limit of 10 MB. It does not establish the complete size of the file. If the total is already known, the message can report it, for example, returned a stream of 12 MB (limit: 10 MB).
Sizes use binary units: 1 MB is 1,024 KB. Match the value and unit to the Stream size setting when reviewing the limit.
Active time
For example, a Step calling a service can report:
Connection limit exceeded at Step/Node 'queryCustomers', Connection 'CRM', Environment 'Test': Timeout: used 2 minutes of active time (limit: 1.5 minutes). Review this connection's execution limits. See https://help.flowgear.net/v2/concepts/connection-execution-limits.
This example reports two minutes of Active time against a limit of one and a half minutes. The message uses seconds, minutes, or hours rather than a clock-style value. It reports the time used before failure, not the time that completing the request would have required.
The Console lets you enter Active time in secs, mins, or hours. Time between reads does not count; see the Active time example.
Understand what failed
Flowgear raises an error instead of treating a shortened result as a successful response. A Rows limit does not request only the first rows of a larger result, and a Stream size limit does not request part of a file.
A message that gives a known total can help you choose a suitable limit. A threshold-only message or an incomplete log counter does not establish the full result size. Use successful bounded tests and known service behavior when the complete size or required service time is unknown.
Each Step run starts with fresh limits, including every ForEach iteration. Check the Environment named in the error: changing Test limits does not change Production limits.
Handle the failure in the Workflow
You can catch a limit error with a Try/Catch container. Put the Step in Try and add the required error-handling Steps in Catch. Keep the generated Error Return when the handler needs the message and failing Step name.
See Error Handling for the error fields and how a failure reaches the Catch branch.