Marob AI

Errors

Status codes and error response shape.

Errors use conventional HTTP status codes and a consistent JSON body.

{
  "error": {
    "code": "invalid_request",
    "message": "Field 'text' is required."
  }
}

Status codes

StatusMeaning
400The request was malformed or a parameter was invalid.
401Missing or invalid API key.
403Key revoked, or project lacks access to the endpoint.
404Resource not found.
429Rate limit exceeded — back off and retry.
500Server error — safe to retry with exponential backoff.
503Upstream temporarily unavailable.

Retries

Retries are safe on 429, 500, 502, 503, 504. Use exponential backoff with jitter and cap at a few attempts.

On this page