Docs
API Reference

Errors

Error response shape, error codes, limits, and recovery patterns.

This page summarizes standard error formats and common failure modes for Carrot API integrations.

Error response format

Typical error payload:

{
  "statusCode": 400,
  "errors": [
    {
      "code": "validationError",
      "message": "Failed validating required field",
      "id": "5g1XRgWZ0odA79dHJvcPP",
      "timestamp": "1684766595"
    }
  ]
}

Error codes

HTTPCodeMeaning
400invalidJsonRequest body could not be decoded as JSON.
400validationErrorRequest payload failed schema validation.
401unauthorizedAccess token is missing, invalid, or expired.
403restrictedResourceToken does not have permission for this resource or environment.
404objectNotFoundResource does not exist or is not shared with token owner.
409conflictErrorOperation could not be completed due to data conflict.
409PENDING_PROCESS_CONFLICT_ERRORRequested document is still processing. Retry later.
429Too Many RequestsRequest rate exceeded allowed threshold.
500internalServerErrorUnexpected server-side failure.
503serviceUnavailableService temporarily unavailable or request exceeded processing window.
504gatewayTimeoutUpstream timeout/session expiration while completing request.

For rate limits and quotas, see Rate Limits.

For error recovery patterns and retry strategies, see Error Handling.

On this page