400 Bad RequestIdempotency
IDEMPOTENCY_KEY_REQUIRED
An Idempotency-Key header is required POST /deliveries, POST /deliveries/{id}/book, POST /deliveries/{id}/cancel or POST /wallet/fund arrived without an Idempotency-Key header.When it happens
How to fix it
Idempotency-Key header that identifies this attempt, for example order-10045-delivery-1.
RetryingFix the request, then send it with a new key.How idempotency works
Example response
HTTP 400 Bad Request
{
"status": "failed",
"error": {
"code": "IDEMPOTENCY_KEY_REQUIRED",
"message": "This request needs an Idempotency-Key header.",
"doc_url": "https://developer.getreeds.co/errors/IDEMPOTENCY_KEY_REQUIRED"
}
}