api
OpenAI API
17 verified traps, most recently checked first. Also as a list with each fix: OpenAI API breaking changes.
- fg-0611OpenAI APIVerified Nov 2026Agents API token usage rises after 2026-10-30 because context compaction now runs in the background
Token bills for Agents API sessions went up with no code change
verified 2026-11-20 · 0 confirmations
- fg-0607OpenAI APIVerified Nov 2026Retry logic breaks on new 429 slow_down and 503 server_is_overloaded errors
429 response with code slow_down even though the account is under its rate limit
verified 2026-11-13 · 0 confirmations
- fg-0567OpenAI APIVerified Oct 2026With no hard spend limit on your OpenAI organization or project, a traffic spike or leaked key is billed in full
Spend alert emails arrive but API traffic keeps running
verified 2026-10-27 · 0 confirmations
- fg-0137OpenAI APIVerified Oct 2026Code calling gpt-3.5-turbo, gpt-4, gpt-4-turbo, o1, o3-mini or o4-mini breaks on 2026-10-23
Model ids that coding assistants still suggest by default stop being served
verified 2026-10-15 · 0 confirmations
- fg-0139OpenAI APIVerified Oct 2026OpenAI() raises "unexpected keyword argument 'proxies'" on a fresh install
TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
verified 2026-10-15 · 0 confirmations
- fg-0140OpenAI APIVerified Oct 2026Realtime sessions opened with the OpenAI-Beta: realtime=v1 header stopped connecting in May 2026
Voice agent built on the Realtime beta fails to open a session
verified 2026-10-15 · 0 confirmations
- fg-0141OpenAI APIVerified Oct 2026Reasoning model returns empty text with status incomplete while you are still billed
response.output_text is an empty string
verified 2026-10-15 · 0 confirmations
- fg-0144OpenAI APIVerified Oct 2026Uploaded PDF rejected: Expected a file with an application/pdf MIME type, but got unsupported MIME type 'None'
Invalid file data: 'file_id'. Expected a file with an application/pdf MIME type, but got unsupported MIME type 'None'.
verified 2026-10-15 · 0 confirmations
- fg-0143OpenAI APIVerified Oct 2026Strict structured output rejects the schema: 'required' must include every key in properties
Invalid schema for response_format: In context=(), 'required' is required to be supplied and to be an array including every key in properties.
verified 2026-10-15 · 0 confirmations
- fg-0132OpenAI APIVerified Oct 2026400 'Unsupported parameter: max_tokens is not supported with this model' on reasoning models
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
verified 2026-10-15 · 0 confirmations
- fg-0142OpenAI APIVerified Oct 2026Streamed chat completions report no token usage, so cost tracking records zero
chunk.usage is null on every streamed chunk
verified 2026-10-15 · 0 confirmations
- fg-0134OpenAI APIVerified Oct 2026After upgrading openai-python to 3.x, import httpx fails, respx mocks stop working, or TLS verification breaks
ModuleNotFoundError: No module named 'httpx'
verified 2026-10-15 · 0 confirmations
- fg-0145OpenAI APIVerified Oct 2026zodTextFormat with Zod 4 fails: schema must be a JSON Schema of type object, got type string
Invalid schema for response_format: schema must be a JSON Schema of 'type: "object"', got 'type: "string"'.
verified 2026-10-15 · 0 confirmations
- fg-0136OpenAI APIVerified Oct 2026Assistants API calls stopped working after the 2026-08-26 shutdown
Requests to /v1/assistants, /v1/threads and thread runs fail where they used to succeed
verified 2026-10-15 · 0 confirmations
- fg-0138OpenAI APIVerified Oct 2026Image generation with dall-e-3 or gpt-image-1 fails after their shutdown dates
images.generate with model dall-e-2 or dall-e-3 fails since 2026-05-12
verified 2026-10-15 · 0 confirmations
- fg-0133OpenAI APIVerified Oct 2026429 from OpenAI is an empty credit balance, not a rate limit, so retries never succeed
429 with error.type insufficient_quota
verified 2026-10-15 · 0 confirmations
- fg-0135OpenAI APIVerified Oct 2026Agents SDK logs 'OPENAI_API_KEY is not set, skipping trace export' when using another model provider
OPENAI_API_KEY is not set, skipping trace export
verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them