Skip to main content
Code: chat_cancel_target_already_terminal HTTP status: 409 Type: invalid_request

When it fires

POST /v1/chat/completions/{id}/cancel was called on a completion whose status is already terminal — completed, failed, or any cancelled_* flavour. Treat as an idempotency hint: a normal completion arrived before your cancel signal did. Not a bug.

How to recover

Read GET /v1/chat/completions/{id} for the final-state record (with its usage block and credits_charged). If you raced the completion, the partial-or-full charge has already been committed against your balance.