Zum Inhalt
Lumean

Beschreibungen auf Englisch

Die Oberfläche des Bereichs ist in Ihre Sprache übersetzt, Beschreibungen von Operationen, Schemata und Fehlern gibt es aber nur auf Russisch und Englisch — hier wird die englische Fassung angezeigt.

409 — state conflict

409kein Retry-After

Was passiert ist

The request was not executed: nothing was created or charged. The order state or the price changed between two calls. The reason field names the cause.

Warum

quote_mismatch on POST /orders and POST /orders/{order}/retry comes in explicit top-up confirmation mode. The actual top-up turned out to cost more than the confirmed quote. stitch_in_progress on POST /orders/{order}/items/retry-failed and POST /orders/{order}/items/{item}/retry means the order result is being stitched. active_retry_exists on POST /orders/{order}/items/{item}/retry means a retry of this chunk is already running.

Was jetzt zu tun ist

Branch on reason. A quote_mismatch response already contains a fresh quote_token: show the user the new price and repeat the request with that token. For stitch_in_progress and active_retry_exists, wait a few seconds and repeat the same call. A 409 arrives before any charge, so retrying is safe.

Welche Anfrage als Nächstes

For quote_mismatch, send the same POST /orders with "confirm_payg_topup": true and the quote_token from the 409 response.

Diese Seite für KI

.md öffnenllm.md

API-Version 1.0.0