failed, expired or requires_action carries result.error. A batch in requires_action carries error. HTTP errors are as described in Errors.
Error types
Error codes
Nothing is charged for a request that did not succeed.
Retries
- A request is retried on our side while it is
running. You seeapi_erroronly once those retries are used up. - A final status never changes. To retry a
failedorexpiredrequest, create a new batch with its input. An input file is taken once, so upload it again. - Retry an HTTP call that answers
retryable: truewith backoff, keeping the sameIdempotency-Key.