api
OpenAI API
14 verified traps, most recently checked first.
- 400 '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.
OpenAI API · verified 2026-10-15 · 0 confirmations
- 429 from OpenAI is an empty credit balance, not a rate limit, so retries never succeed
429 with error.type insufficient_quota
OpenAI API · verified 2026-10-15 · 0 confirmations
- Realtime 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
OpenAI API · verified 2026-10-15 · 0 confirmations
- Streamed chat completions report no token usage, so cost tracking records zero
chunk.usage is null on every streamed chunk
OpenAI API · verified 2026-10-15 · 0 confirmations
- After upgrading openai-python to 3.x, import httpx fails, respx mocks stop working, or TLS verification breaks
ModuleNotFoundError: No module named 'httpx'
OpenAI API · verified 2026-10-15 · 0 confirmations
- Uploaded 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'.
OpenAI API · verified 2026-10-15 · 0 confirmations
- zodTextFormat 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"'.
OpenAI API · verified 2026-10-15 · 0 confirmations
- Agents 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
OpenAI API · verified 2026-10-15 · 0 confirmations
- Assistants 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
OpenAI API · verified 2026-10-15 · 0 confirmations
- Code 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
OpenAI API · verified 2026-10-15 · 0 confirmations
- Image 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
OpenAI API · verified 2026-10-15 · 0 confirmations
- OpenAI() raises "unexpected keyword argument 'proxies'" on a fresh install
TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
OpenAI API · verified 2026-10-15 · 0 confirmations
- Reasoning model returns empty text with status incomplete while you are still billed
response.output_text is an empty string
OpenAI API · verified 2026-10-15 · 0 confirmations
- Strict 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.
OpenAI API · verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them
claude mcp add --transport http footgun https://getfootgun.com/api/mcp