Skip to content
Last updated

Errors

The Auvo API returns standard HTTP codes with { "error": "<message>" }.

Quick map

CodeMeaningAction
400Invalid payloadCheck schema/types before retrying.
401Missing/expired tokenRenew via POST /login.
403Rate limit exceededApply exponential backoff.
404Resource missingVerify id/slug.
409Conflict (e.g. duplicate)Check remote state first.
415Missing Content-Type on POSTSend application/json.
422Semantic validationRead error and fix.
429Rate limit (future reserve)Treat like 403.
500Internal failureReport to help@auvo.com.br with deliveryId/timestamp.

Envelope

{ "error": "The field 'email' is not a valid email address" }

Retry strategy

  • Idempotent (GET, PUT, DELETE): retry with backoff on 5xx and 403.
  • Non-idempotent (POST, PATCH): avoid blind retries — use correlation (e.g. externalId) to detect duplicates before resubmitting.

Troubleshooting

  1. Capture X-Request-Id (when present) in logs.
  2. Reproduce via curl before reporting — removes HTTP-client variables.
  3. Attach a redacted payload when opening a ticket.