Idempotency Errors

When the idempotency-key header is used, BlueSnap may return one of these errors.

For more information about idempotency, refer to Idempotency.

SAME_IDEMPOTENCY_KEY_WAS_ALREADY_IN_USE_WITH_PREVIOUS_DIFFERENT_REQUEST
Code: 60101

This occurs if there is an attempt to reuse an idempotency-key with a request different from the first request attempt. BlueSnap will respond with HTTP 422 status code [Unprocessable Entity].

REQUEST_WITH_SAME_IDEMPOTENCY_KEY_ALREADY_IN_PROGRESS
Code: 60102

This occurs if a request is retried using the same idempotency-key as the original request while it is still being processed. BlueSnap will respond with HTTP 409 status code [Conflict].

IDEMPOTENCY_KEY_MAX_LENGTH_LIMIT_EXCEEDED
Code: 60103

This occurs if the idempotency-key header exceeds the maximum length of 64 characters.

INVALID_IDEMPOTENCY_KEY
Code: 60104

This occurs if the idempotency-key header contains invalid characters. It can only contain Alpha-Numeric characters or hyphens.

IDEMPOTENCY_SERVICE_TIMEOUT
Code: 60106

This occurs if the idempotency service is currently unavailable. Please try again later.