Aller au contenu principal
- Gestion des erreurs

Erreurs de l'API

Chaque échec de l'API renvoie une enveloppe d'erreur JSON avec un code stable, un statut HTTP, un message et un request id pour le support.

Enveloppe d'erreur

{
  "error": {
    "code": "asset_not_found",
    "message": "No asset with id 42 for this shop",
    "status": 404,
    "request_id": "req_..."
  }
}

Indiquez le request id lorsque vous contactez le support.

Codes d'erreur courants

HTTPCodeMeaning
400invalid_requestMalformed JSON or missing field.
400idempotency_key_requiredWrite request missing Idempotency-Key.
401unauthorizedMissing, invalid, unknown, or revoked token.
402plan_requiredAPI access has not been activated for the shop.
404asset_not_found, mapping_not_found, order_not_found, category_not_found, job_not_foundThe resource is missing or belongs to another shop.
409idempotency_conflictThe same key was reused with a different request.
409stamping_in_progressResend is blocked while PDF stamping is pending.
409delivery_not_yet_releasedThe product has a download delivery delay configured and the buyer's files have not unlocked yet. error.details.release_at is the ISO 8601 instant they unlock; the merchant can release the order early with the grant-downloads endpoint.
422storage_quota_exceededThe upload or import would exceed storage quota.
422key_limit_reachedThe shop already holds the maximum of 25 active API keys; revoke one first.
422withdrawal_consent_requiredThe shop has EU withdrawal-right consent enabled and the order has no consent record yet; download URLs are issued once the customer consents.
429rate_limitedThe API key or order resend limit was reached.
500internal_errorUnexpected server error.

Documentation de l'API

Cet article vous a-t-il été utile ?

Toujours bloqué ? Écrivez à admin@alvaapps.com.

Dernière mise à jour 2026-06-05