invalid_request_error409What happened
Thecandidate_alias you provided is already in use. candidate_alias values are globally unique — no two candidates across any account can share the same value.
How to fix
Use a differentcandidate_alias for the new candidate. If you want idempotent creation — creating the candidate only if it doesn’t already exist — check for a 409 response and treat it as a success if the existing candidate belongs to your account.
Common causes
Retry without a new UUID
Retry without a new UUID
If your request timed out and you retried with the same
candidate_alias, the first request may have already succeeded. Fetch GET /v1/candidates/:candidate_alias to confirm.Reusing a UUID from a previous candidate
Reusing a UUID from a previous candidate
candidate_alias values are permanent — even after a candidate reaches a terminal state (CONFIRMED or FAILED), its candidate_alias cannot be reused. Generate a fresh UUID for each new candidate.