Skip to main content

Error Handling

Arrotech Hub uses standard HTTP response codes to indicate the success or failure of an API request.

HTTP Status Codes

CodeMeaningDescription
200OKThe request was successful.
201CreatedSuccessfully created a resource (e.g., a new Workflow).
400Bad RequestThe request was unacceptable, often due to missing a required parameter.
401UnauthorizedNo valid API key provided.
403ForbiddenThe API key doesn't have permissions to perform the request.
404Not FoundThe requested resource doesn't exist.
422Validation ErrorRequest payload failed validation check.
429Too Many RequestsYou have hit your rate limit.
500, 502, 503, 504Server ErrorSomething went wrong on Arrotech's side.

Error Response Format

When an error occurs, the response body will contain details:

{
"detail": [
{
"loc": ["body", "workflow_id"],
"msg": "field required",
"type": "value_error.missing"
}
]
}

Rate Limits

Usage is limited to ensure stability for all customers.

  • Free Tier: 100 requests per minute.
  • Developer Tier: 1,000 requests per minute.
  • Scale/Enterprise: Custom limits.

[!tip] If you receive a 429 error, check the Retry-After header to see how long to wait before trying again.