← Back to docs

Errors

When workflows fail or requests cannot be processed, SyncToScale returns structured error responses you can inspect and act on.

GET Retrieve error details for a run

Error responses

Errors are returned with a consistent structure so they can be logged, surfaced to users, or routed for retry and remediation.

{
  "run_id": "run_456",
  "step": "create_user",
  "error_code": "invalid_permission",
  "message": "User lacks write access to directory"
}

Looking up errors by run

Use the run identifier to fetch detailed error information after a workflow has completed or failed.

GET /errors/{run_id}

Common error categories