Skip to main content
HTTP 410 Gone
The resource existed but has been permanently removed and no forwarding address is known.
4xx · Client error✗ not retryable — fix the request instead
In AI APIs specifically
Deprecated API versions and expired file/batch resources return 410 — unlike 404, the provider is telling you it will never come back.
Fix checklist
- Migrate to the replacement endpoint or model named in the deprecation notice.
- Re-upload expired files rather than retrying the old ID.
Spec: RFC reference
Related status codes
400 Bad Request
The server cannot process the request due to a client error — malformed JSON, invalid parameters, or schema violations..
401 UnauthorizedAuthentication is missing or invalid for this request..
402 Payment RequiredThe request requires payment — billing is not set up or a balance is exhausted..
403 ForbiddenThe server understood the request but refuses to authorize it — valid credentials, insufficient permission..