Troubleshooting and production checklist
401
Correct Bearer syntax, credential type, expiry/revocation, organization
Replace/refresh through the supported credential flow; do not retry unchanged credentials
403
Key scopes, owner's permissions, resource/folder access, publication or logging rules
Inspect the endpoint and error metadata; request only the missing permission
404
Correct deployment, resource ID, organization, saved version, resource access
Verify the ID with an authorized read; absence may intentionally conceal access
400/422
JSON shape, extra fields, required keys, enum values, UUIDs, multipart names
Compare with the exact endpoint schema; preserve safe field-level errors
402 on run start/resume
Organization usage allowance
Resolve the usage limit before trying again
409
Active job, already-resumed run, cancellation state, name/version collision
Read current state; do not blindly repeat the write
406 on legacy resume
SSE requested for a trigger-backed continuation
Use the supported non-SSE/polling path
429
Deployment throttling
Back off, honor Retry-After when available, lower concurrency
500 after a write
Side effect may already have occurred
Reconcile existing runs/resources before retrying
503 on run reservation
Dispatch did not occur according to this route's contract
Retry within a bounded policy
503 on eval job GET
Live job state temporarily unavailable
Retry the same status URL, not job creation
Empty KB search
Indexing status, source access, query strategy, actual content
Wait for indexed resources and test with a known document phrase
Empty connection list
Provider filter and connection sharing
Check access in StackAI and reconnect degraded entries
Missing pause payload
Read and run permissions both present
Use a credential permitted to resume; keep the token out of logs
Log method, route template, status, safe error code, latency, and returned resource IDs. Redact authorization, resume tokens, webhook secrets, signed URLs, and sensitive input/output. The public error envelope can contain errors, detail, response_code, and meta; legacy responses can differ. Do not assume every exception conforms to one JSON shape.
Before shipping: test against a nonproduction project; pin the intended saved workflow version; validate the input contract; configure timeouts and safe retry limits; persist asynchronous IDs; verify all terminal states and pauses; exercise pagination beyond one page; check key revocation; and test your webhook signature/deduplication path if used.
No universal numeric request-rate, execution-time, or file-size limit is asserted by this documentation. Use schema-enforced bounds, deployment policy, and observed response headers. Do not infer an SLA or supported SDK from illustrative HTTP examples.
Last updated
Was this helpful?

