---
title: "CloudPrint API errors and retries"
description: "Handle CloudPrint API status codes, machine-readable errors, rate limits, request tracing and safe retry decisions."
---
<nav class="docs-breadcrumb" aria-label="Breadcrumb"><a href="/docs/">CloudPrint Documentation</a><span aria-hidden="true">/</span><span>API reference</span></nav>

# CloudPrint API errors and retries

<p class="docs-lead">Handle CloudPrint API status codes, machine-readable errors, rate limits, request tracing and safe retry decisions.</p>

<div class="api-reference-actions"><span><strong>API version:</strong> v1</span><a href="/docs/api/v1/openapi.json">Download OpenAPI v1 JSON</a><a href="/docs/api/v1/explorer/">Open in the interactive API Explorer</a><a href="/docs/api/v1/errors/index.md">View as Markdown</a></div>

## Stable error shape

Error responses use `error`, optional `error_code`, a safe `message` and optional structured `details`. Branch on machine-readable fields and HTTP status, never on localized message text.

## Request tracing

Every API response includes `X-Request-Id`. Log it next to your business identifier, `print_job_id` and timestamp so the same request can be found during support.

## Retry decisions

Retry `429` after `Retry-After` and transient `5xx` failures with bounded exponential backoff. Refresh a token once after `401`. Fix scopes after `403`, payloads after `400` or `422`, and formats after `415`. Never blindly retry a print create without the original `Idempotency-Key`.

## Operational failures

An accepted API request can still produce a print job with status `failed`. Read `failure_reason` and compare document format and requested options with the selected printer capabilities.

## Related documentation

<div class="docs-card-grid"><a class="docs-card" href="/docs/api/v1/idempotency/"><strong>Idempotent print-job creation</strong><span>Prevent duplicate physical prints when retrying CloudPrint print-job requests after a timeout or network failure.</span></a>
<a class="docs-card" href="/docs/troubleshooting/"><strong>Troubleshoot agents, printers and print jobs</strong><span>Diagnose CloudPrint integration problems by request ID, job status, agent connectivity, printer capabilities and API error code.</span></a>
<a class="docs-card" href="/docs/api/v1/explorer/"><strong>CloudPrint API v1 Explorer</strong><span>Interactively inspect the complete CloudPrint API v1 OpenAPI contract, schemas and code samples.</span></a></div>

<nav class="docs-resource-links" aria-label="Next steps"><a href="/docs/api/v1/explorer/">OpenAPI</a><a href="https://my.cloudprint.me">Open account</a><a href="/docs/legal/privacy/">Privacy Policy</a><a href="/docs/legal/terms/">Terms</a><a href="/docs/legal/payments-and-refunds/">Payment and refunds</a><a href="/docs/legal/data-processing/">DPA</a></nav>