DOCS
Reference

Errors and limits

The error codes the API and MCP tools answer with, and the limits that apply to tests, files, builds and requests.

Error codes#

Status and codeMeans
400 inputA parameter is missing or not valid; the message says which.
400 bad_jsonThe body is not valid JSON.
400 invalidThe request was refused, for example an 11th file on a test, a build over 1 GB, or a sign-in account name already in use; the message says why.
401 unauthenticatedNo key, or the key is invalid or revoked.
402 plan_limitThe plan's runs, projects, tests or members are used up, or you are inviting people on the free trial. Upgrade, or buy extra runs on a paid plan.
402 plan_servicesA phone number or endpoint calls on the free trial.
402 not_startedNone of a project's tests could start; skipped says why.
403 scopeThe key or connection is not allowed to do this. A read-only key cannot start runs, share results or upload builds. A run key cannot create or change tests or projects.
403 roleAn AI agent signed in with a Testsy account needs a higher workspace role for this; the message names it.
404 not_foundNo such project, test, run, build, schedule, file or share link in this workspace.
409 in_useThe build cannot be deleted: a test is pinned to it, or a queued or running run uses it.
409 not_startedThe run could not start, for example the test's pinned build was deleted or the device asked for is not offered; the message says why.
409 idempotency_in_progressThe first request with this Idempotency-Key is still being handled; retry shortly.
413 too_largeA test file over 25 MB, or a build part over 16 MB.
422 reviewThe plan did not pass the planning review; the message says why.
422 build_rejectedOur devices cannot run this build; the message says why.
422 idempotency_mismatchThe same Idempotency-Key was used for a different request.
429 rate_limitedOver 300 requests a minute for this key, AI agent connection or upload link.
429 assist_capThe workspace's assistant drafts for today are used.
500 internalSomething went wrong on our side. Try again.

Every 402 that the plan caused carries upgradeUrl, the page where the plan is chosen or changed, and the same link at the end of error, so a person reading a CI log or an agent's answer can open it.

MCP tools answer the same errors as a tool result with isError: true and the message.

Idempotency-Key is 8 to 200 characters (letters, digits, -, _, ., :) and is remembered for 24 hours per workspace. A retry with the same key returns the first response instead of starting a second run. A request that failed is not remembered, so it can be retried with the same key.

Limits#

LimitValue
Time limit per runUp to 20 minutes (default 15). Every run stops by 20 minutes; a run is one run however long it takes.
An app run counts asOne run, like a web run
Test files25 MB each, up to 10 per test
App buildsUp to 1 GB, uploaded in parts of up to 16 MB
Test textTitle up to 200 characters, start address up to 2,000, requirement up to 20,000
A planUp to 30 steps, 20 checks, 12 values to record, 8 assumptions; each line up to 400 characters
API requests300 a minute per key (429 rate_limited above that)
Share link views600 a minute per link
Before sign-up (the box on testsy.dev)8 assistant revisions per test, 15 an hour per visitor; kept 24 hours

Plans#

Free trialStarterTeamGrowth
PriceFree$49 a month$149 a month$299 a month
Runs included10, once100 a month500 a month1,200 a month
Extra runs (packs of 50)—$30$20$15
Web runs at a time151020
App runs at a time11310
Android and iOS app testsYesYesYesYes
Members1525100
Projects12515
Tests203001,0005,000
Assistant drafts a day40300300300
Phone number and endpoint calls—YesYesYes
Invite people—YesYesYes