Idempotency-Key belongs to the first request that started a job with it. For 24 hours, sending that key again with the same endpoint and the same body returns the first response, and sending it with anything else gets this 422. Nothing is queued or charged.
Reasons and how to fix
One key for several requests
Each job you start needs its own key. Generate a new one, such as a UUID, for every new request, and reuse it only when you resend that exact request after a timeout or a network error. See Retry safely with an idempotency key.The retry changed the body
A retry has to send the same body as the first attempt: the sameurl, options and webhookUrl. The order of the fields doesn’t matter. If you meant to change something, it’s a new request: send it with a new key.
The same key on another endpoint
A key used on/import can’t be used on /metadata or /transcribe within 24 hours. Use a new key per request.