idempotency_key_reused
The idempotency key was used with a different request
Status: 422 Unprocessable Content
type: https://api.allisai.ai/errors/idempotency_key_reused
When it is sent
The Idempotency-Key was used in the last 24 hours with a different method, path, query, media type or body. Use a new key for a new request; reuse a key only to retry the same request.
Example
{
"type": "https://api.allisai.ai/errors/idempotency_key_reused",
"title": "The idempotency key was used with a different request",
"status": 422,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "idempotency_key_reused",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}
Operations that return it
- Import a CSV file (
commitImport) - Create a client (
createClient) - Create a client's value model (
createValueModel) - Freeze a client's ROI for a period (
createCalculation) - Create an agent (
createAgent) - Create a cost line item (
createCostLineItem) - Compose a report on a calculation (
createReport)