Factuarea APIDevelopers

idempotency_key_required

The request arrived without an `Idempotency-Key` header, and this operation delivers an effect that cannot be taken back — an email sent, a file generated, a charge — so its transition window has already closed for this credential's environment.

CodeTypeHTTPCategory
idempotency_key_requiredinvalid_request_error422Idempotency

Cause

The request arrived without an Idempotency-Key header, and this operation delivers an effect that cannot be taken back — an email sent, a file generated, a charge — so its transition window has already closed for this credential's environment.

What to do

Generate one unique identifier per operation you fire (a UUID works) and send it in the Idempotency-Key header; if the connection drops and you retry, repeat exactly the same key so the operation never runs twice.

On this page

Need a hand?Contact support