Skip to content

Limits and errors

Default limits, the settings administrators can change, and what common error codes mean.

Workflow limits

LimitDefault
Steps per workflow50
Connections per workflow100
Rules per Condition, cases per Switch, values per Set values20
Steps executed per run200
Runs of one workflow working at once4 (1 to 20, in Workflow settings)
Runs of all your workflows working at once20
Unfinished runs per user, including waiting ones1,000
Chain of workflows starting each other3 levels
Files per manual run100
Time for one step attempt2 minutes for most steps; see each step in the step reference
Time for an intake run1 hour
Time for a library run30 days
Output of one step64 KiB
Rendered text template4 KiB
Fields set by one Save file20
Attachments added by one Save file10
Text typed into Add attachment20,000 characters
One attachment1 MiB
Working files per run10, totalling 4 times the received or loaded size (at least 64 MiB)
Image size for image steps100 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.

SettingDefaultControls
MaxActiveRunsPerUser20Runs per user executing or due at once
MaxOpenRunsPerUser1000Unfinished runs per user; beyond it, events start no new runs
MaxChainDepth3How deep workflows may start each other
IntakeExecutionLifetime1 hourTime from upload to the end of an intake run
LibraryExecutionLifetime30 daysTime for a library run, waits included
RecoveryPeriod14 daysHow long a failed run can be retried
ExecutionDataRetention24 hoursWorking data of runs that didn't fail
SucceededHistoryRetention30 daysHistory of succeeded runs and tests
FailedHistoryRetention90 daysHistory of failed, canceled and completed-with-errors runs
QuarantineRetention30 daysQuarantined uploads, from first quarantine
PendingServeWait20 secondsHow long raw links to a processing upload wait before 503
MaxWorkingFiles10Working files per run
MaxWorkingBytesFactor4Working files' total, as a multiple of the received or loaded size
MinWorkingBaselineBytes64 MiBSmallest baseline for that multiple
MaxStagingBytes10 GiBUploads in progress, working files and quarantine together
MaxStagingBytesPerUser2 GiBThe same, per user
MaxQuarantineBytesPerUser1 GiBQuarantine per user
MinFreeDiskPercent5Staging refuses new work below this much free disk
LibraryClaimShare0.25Share 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.

LimitValue
Connections per user50
Request body256 KiB, unless the kind of connection allows more: 25 MiB for a webhook, 10 MiB for Discord
Response1 MiB (16 KiB for Send webhook's response)
Redirects3
Time to answer, including reading the answer10 seconds, unless the kind of connection allows longer
Wait before trying againAt least 2 seconds; at most 1 hour when a service asks for longer

Administrators can change these under Tessra:Outbound:

SettingDefaultControls
AllowPrivateNetworksfalseLets every connection reach private network addresses. Metadata addresses stay blocked.
AllowedHostsemptyHost 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 codeMeans
409 intake_unavailableThe token's assigned intake workflow is turned off, deleted, unpublished or needs an update. Nothing was stored.
415 intake_rejectedThe assigned workflow's trigger doesn't accept this file. Nothing was stored.
507 storage_fullStaging space is full.
507 quarantine_fullThe workflow quarantines failures and your quarantine is full.
503 file_processingA raw link to an upload that's still being processed. Try again after Retry-After.

Problems in the editor

CodeMeans
step_unreachableNo path leads from the trigger to this step. Connect it or delete it.
graph_cycleConnections lead back to an earlier step.
reference_not_ancestorA value comes from a step that isn't before this one on every path.
reference_conditionalA value comes from a step that might be skipped. An error for required settings, a warning otherwise.
reference_type_mismatchThe value's type doesn't fit the setting.
reference_unknown_step, reference_unknown_outputThe value points at a step or output that no longer exists.
template_invalidThe text template can't be read: an unknown filter or a broken placeholder.
resource_unavailableA folder, tag or token the step uses was deleted.
primary_save_missingAn intake workflow has no Save file with Save as the upload.
primary_save_conflictTwo Save file steps that save the upload could both run. Put them on different branches of one Condition or Switch.
primary_not_allowedSave as the upload is on in a library workflow.
target_pendingA step changes or reads the run's file before the upload is saved. Move it after Save file.
content_supersededWarning. Save file reads content that an earlier step already changed. See Check what Save file reads.
on_error_continue_not_allowedContinue on failure isn't possible for a step with several outputs. Use Take the error path.
connection_unavailableThe step's connection was deleted or its plugin is no longer installed.
connection_wrong_capabilityThe chosen connection can't do what the step needs.
connection_missing_featureThe step needs a feature the connection doesn't have, such as ignoring repeated deliveries.
node_version_unavailableThe step's version is no longer installed. The workflow needs an update.

Errors in runs

CodeMeans
input_missingA required value wasn't there in this run, or a template used a missing value without default or optional.
settings_invalidThe settings can't work together, such as Resize with neither max width nor max height.
primary_not_savedAn intake run finished without saving the upload.
unsupported_typeAn image step got a file that isn't PNG, JPEG, WebP or GIF.
image_invalidThe image couldn't be read, or the step couldn't produce a result.
image_too_largeThe image, or the result, is over 100 megapixels.
working_limitThe run made too many or too large working files.
staging_fullNo room to stage working files right now. Retried automatically.
resource_unavailableA file, folder or tag was deleted or trashed while the run was going.
regex_invalid, regex_timeoutA matches the pattern rule has a bad pattern, or took over 50 ms.
step_limitThe run reached 200 steps.
execution_expiredThe run ran out of time.
retry_data_expiredRetry isn't possible any more: the run's data or the received upload was deleted.
reservation_changedThe quarantined upload was already retried, released or deleted elsewhere.
outbound_blockedThe 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_largeThe request was over the connection's size limit. Nothing was sent.
response_too_largeThe service's answer was over the size limit. The service may have acted, so an unsafe step asks you.
provider_invalid_responseThe service said its answer was JSON, but it wasn't. The service may have acted, so an unsafe step asks you.
connection_unreachableTessra couldn't connect to the service. Nothing was sent, so it's retried automatically.
connection_lostThe connection broke after Tessra started sending. The service may have acted.
connection_timeoutThe service didn't accept the connection, answer, or finish answering in time. Retried automatically only when nothing was sent.
connection_auth_failedThe service refused the connection's credentials (401 or 403). Fix them in the connection.
provider_rejectedThe service refused the request, such as a 400 or 404. Not retried.
provider_errorThe service failed (5xx).
provider_throttledThe 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_reachedThe 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.