Limits and errors
Default limits, the settings administrators can change, and what common error codes mean.
Workflow limits
| Limit | Default |
|---|---|
| Steps per workflow | 50 |
| Connections per workflow | 100 |
| Rules per Condition, cases per Switch, values per Set values | 20 |
| Steps executed per run | 200 |
| Runs of one workflow working at once | 4 (1 to 20, in Workflow settings) |
| Runs of all your workflows working at once | 20 |
| Unfinished runs per user, including waiting ones | 1,000 |
| Chain of workflows starting each other | 3 levels |
| Files per manual run | 100 |
| Time for one step attempt | 2 minutes for most steps; see each step in the step reference |
| Time for an intake run | 1 hour |
| Time for a library run | 30 days |
| Output of one step | 64 KiB |
| Rendered text template | 4 KiB |
| Fields set by one Save file | 20 |
| Attachments added by one Save file | 10 |
| Text typed into Add attachment | 20,000 characters |
| One attachment | 1 MiB |
| Working files per run | 10, totalling 4 times the received or loaded size (at least 64 MiB) |
| Image size for image steps | 100 megapixels |
Server settings
Administrators can change these under Tessra:Workflows in the server configuration, for example with the environment variable Tessra__Workflows__QuarantineRetention=14.00:00:00.
| Setting | Default | Controls |
|---|---|---|
MaxActiveRunsPerUser | 20 | Runs per user executing or due at once |
MaxOpenRunsPerUser | 1000 | Unfinished runs per user; beyond it, events start no new runs |
MaxChainDepth | 3 | How deep workflows may start each other |
IntakeExecutionLifetime | 1 hour | Time from upload to the end of an intake run |
LibraryExecutionLifetime | 30 days | Time for a library run, waits included |
RecoveryPeriod | 14 days | How long a failed run can be retried |
ExecutionDataRetention | 24 hours | Working data of runs that didn't fail |
SucceededHistoryRetention | 30 days | History of succeeded runs and tests |
FailedHistoryRetention | 90 days | History of failed, canceled and completed-with-errors runs |
QuarantineRetention | 30 days | Quarantined uploads, from first quarantine |
PendingServeWait | 20 seconds | How long raw links to a processing upload wait before 503 |
MaxWorkingFiles | 10 | Working files per run |
MaxWorkingBytesFactor | 4 | Working files' total, as a multiple of the received or loaded size |
MinWorkingBaselineBytes | 64 MiB | Smallest baseline for that multiple |
MaxStagingBytes | 10 GiB | Uploads in progress, working files and quarantine together |
MaxStagingBytesPerUser | 2 GiB | The same, per user |
MaxQuarantineBytesPerUser | 1 GiB | Quarantine per user |
MinFreeDiskPercent | 5 | Staging refuses new work below this much free disk |
LibraryClaimShare | 0.25 | Share of turns library runs get while intake is busy |
Outbound requests
Steps that reach outside Tessra go through one guarded client. See Outside addresses only.
| Limit | Value |
|---|---|
| Connections per user | 50 |
| Request body | 256 KiB, unless the kind of connection allows more: 25 MiB for a webhook, 10 MiB for Discord |
| Response | 1 MiB (16 KiB for Send webhook's response) |
| Redirects | 3 |
| Time to answer, including reading the answer | 10 seconds, unless the kind of connection allows longer |
| Wait before trying again | At least 2 seconds; at most 1 hour when a service asks for longer |
Administrators can change these under Tessra:Outbound:
| Setting | Default | Controls |
|---|---|---|
AllowPrivateNetworks | false | Lets every connection reach private network addresses. Metadata addresses stay blocked. |
AllowedHosts | empty | Host names or addresses that are always allowed, even on a private network, such as Tessra__Outbound__AllowedHosts__0=hub.home.arpa. |
The waits are under Tessra:Workflows: MinRetryDelay (2 seconds) and MaxRetryAfter (1 hour).
Errors when uploading
| Status and code | Means |
|---|---|
409 intake_unavailable | The token's assigned intake workflow is turned off, deleted, unpublished or needs an update. Nothing was stored. |
415 intake_rejected | The assigned workflow's trigger doesn't accept this file. Nothing was stored. |
507 storage_full | Staging space is full. |
507 quarantine_full | The workflow quarantines failures and your quarantine is full. |
503 file_processing | A raw link to an upload that's still being processed. Try again after Retry-After. |
Problems in the editor
| Code | Means |
|---|---|
step_unreachable | No path leads from the trigger to this step. Connect it or delete it. |
graph_cycle | Connections lead back to an earlier step. |
reference_not_ancestor | A value comes from a step that isn't before this one on every path. |
reference_conditional | A value comes from a step that might be skipped. An error for required settings, a warning otherwise. |
reference_type_mismatch | The value's type doesn't fit the setting. |
reference_unknown_step, reference_unknown_output | The value points at a step or output that no longer exists. |
template_invalid | The text template can't be read: an unknown filter or a broken placeholder. |
resource_unavailable | A folder, tag or token the step uses was deleted. |
primary_save_missing | An intake workflow has no Save file with Save as the upload. |
primary_save_conflict | Two Save file steps that save the upload could both run. Put them on different branches of one Condition or Switch. |
primary_not_allowed | Save as the upload is on in a library workflow. |
target_pending | A step changes or reads the run's file before the upload is saved. Move it after Save file. |
content_superseded | Warning. Save file reads content that an earlier step already changed. See Check what Save file reads. |
on_error_continue_not_allowed | Continue on failure isn't possible for a step with several outputs. Use Take the error path. |
connection_unavailable | The step's connection was deleted or its plugin is no longer installed. |
connection_wrong_capability | The chosen connection can't do what the step needs. |
connection_missing_feature | The step needs a feature the connection doesn't have, such as ignoring repeated deliveries. |
node_version_unavailable | The step's version is no longer installed. The workflow needs an update. |
Errors in runs
| Code | Means |
|---|---|
input_missing | A required value wasn't there in this run, or a template used a missing value without default or optional. |
settings_invalid | The settings can't work together, such as Resize with neither max width nor max height. |
primary_not_saved | An intake run finished without saving the upload. |
unsupported_type | An image step got a file that isn't PNG, JPEG, WebP or GIF. |
image_invalid | The image couldn't be read, or the step couldn't produce a result. |
image_too_large | The image, or the result, is over 100 megapixels. |
working_limit | The run made too many or too large working files. |
staging_full | No room to stage working files right now. Retried automatically. |
resource_unavailable | A file, folder or tag was deleted or trashed while the run was going. |
regex_invalid, regex_timeout | A matches the pattern rule has a bad pattern, or took over 50 ms. |
step_limit | The run reached 200 steps. |
execution_expired | The run ran out of time. |
retry_data_expired | Retry isn't possible any more: the run's data or the received upload was deleted. |
reservation_changed | The quarantined upload was already retried, released or deleted elsewhere. |
outbound_blocked | The request went to an address that isn't allowed, such as a private network or another site than the connection's, or redirected too often or from https to http. Nothing was sent when the first address was refused; after a redirect, the service may have acted. |
request_too_large | The request was over the connection's size limit. Nothing was sent. |
response_too_large | The service's answer was over the size limit. The service may have acted, so an unsafe step asks you. |
provider_invalid_response | The service said its answer was JSON, but it wasn't. The service may have acted, so an unsafe step asks you. |
connection_unreachable | Tessra couldn't connect to the service. Nothing was sent, so it's retried automatically. |
connection_lost | The connection broke after Tessra started sending. The service may have acted. |
connection_timeout | The service didn't accept the connection, answer, or finish answering in time. Retried automatically only when nothing was sent. |
connection_auth_failed | The service refused the connection's credentials (401 or 403). Fix them in the connection. |
provider_rejected | The service refused the request, such as a 400 or 404. Not retried. |
provider_error | The service failed (5xx). |
provider_throttled | The service asked Tessra to slow down (429). When Tessra can repeat the request safely, the step waits and continues; otherwise it asks you. |
ai_* | An AI step failed; see AI step errors. |
connection_limit_reached | The connection reached one of its usage limits. The step waits until the limit allows it, up to the next UTC day for a daily limit. |