> ## Documentation Index
> Fetch the complete documentation index at: https://docs.api.rask.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# idempotency_key_in_use

> Idempotency key in use: HTTP 409 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 409 | `same_key` | `wait` |

## What happened

Idempotency key in use. For example: A request with this Idempotency-Key is still in flight.

## What to do

Wait Retry-After seconds and retry with the same Idempotency-Key.

`wait`: work in progress blocks the request; wait for it to end, then retry.

`same_key`: resend the same request with the same Idempotency-Key (after `Retry-After` when given).

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/idempotency_key_in_use",
  "title": "Idempotency key in use",
  "status": 409,
  "detail": "A request with this Idempotency-Key is still in flight.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "idempotency_key_in_use",
  "retryable": true,
  "retry": "same_key",
  "recommendation": "wait",
  "hint": "Wait Retry-After seconds and retry with the same Idempotency-Key.",
  "errors": []
}
```

## Operations that return it

* [cancelJob](https://docs.api.rask.ai/operations/cancelJob.md)
* [completeUpload](https://docs.api.rask.ai/operations/completeUpload.md)
* [createDub](https://docs.api.rask.ai/operations/createDub.md)
* [createExport](https://docs.api.rask.ai/operations/createExport.md)
* [createFileRestore](https://docs.api.rask.ai/operations/createFileRestore.md)
* [createFolder](https://docs.api.rask.ai/operations/createFolder.md)
* [createGlossary](https://docs.api.rask.ai/operations/createGlossary.md)
* [createLipsync](https://docs.api.rask.ai/operations/createLipsync.md)
* [createLocalization](https://docs.api.rask.ai/operations/createLocalization.md)
* [createOnscreen](https://docs.api.rask.ai/operations/createOnscreen.md)
* [createProject](https://docs.api.rask.ai/operations/createProject.md)
* [createProjectCopies](https://docs.api.rask.ai/operations/createProjectCopies.md)
* [createSegment](https://docs.api.rask.ai/operations/createSegment.md)
* [createTranscriptVersion](https://docs.api.rask.ai/operations/createTranscriptVersion.md)
* [createUpload](https://docs.api.rask.ai/operations/createUpload.md)
* [createVoiceClone](https://docs.api.rask.ai/operations/createVoiceClone.md)
* [deleteSegment](https://docs.api.rask.ai/operations/deleteSegment.md)
* [generateSegments](https://docs.api.rask.ai/operations/generateSegments.md)
* [importMedia](https://docs.api.rask.ai/operations/importMedia.md)
* [importTranscript](https://docs.api.rask.ai/operations/importTranscript.md)
* [mergeSegments](https://docs.api.rask.ai/operations/mergeSegments.md)
* [restoreTranscriptVersion](https://docs.api.rask.ai/operations/restoreTranscriptVersion.md)
* [resumeJob](https://docs.api.rask.ai/operations/resumeJob.md)
* [retranslateSegments](https://docs.api.rask.ai/operations/retranslateSegments.md)
* [selectTranslationVariant](https://docs.api.rask.ai/operations/selectTranslationVariant.md)
* [splitSegment](https://docs.api.rask.ai/operations/splitSegment.md)
* [updateFolder](https://docs.api.rask.ai/operations/updateFolder.md)
* [updateGlossary](https://docs.api.rask.ai/operations/updateGlossary.md)
* [updateProject](https://docs.api.rask.ai/operations/updateProject.md)
* [updateSegment](https://docs.api.rask.ai/operations/updateSegment.md)
* [updateSpeakerVoice](https://docs.api.rask.ai/operations/updateSpeakerVoice.md)
* [updateTranslationSettings](https://docs.api.rask.ai/operations/updateTranslationSettings.md)
* [updateVoiceClone](https://docs.api.rask.ai/operations/updateVoiceClone.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.