GrepBoard/Manuals
605 manuals ·

OpenAI API 15

OpenAI API errors, parameters and model changes.

  1. OpenAI gpt-5, gpt-5-mini and o3 shut down Dec 11, 2026

    OpenAI shuts down gpt-5 and o3 models on Dec 11, 2026. See the new gpt-6.2-sol, gpt-6.1-terra and gpt-6-luna replacements, their limits, and a grep.

    Ubuntu 24.04 (Docker) · GNU grep 3.11 · OpenAI official docs · 2026-12
  2. OpenAI gpt-image-1.5 and gpt-image-1-mini shut down Dec 1, 2026

    OpenAI shut down gpt-image-1-mini, gpt-image-1.5 and chatgpt-image-latest on Dec 1, 2026. Move to gpt-image-2.6 and check complexity, size and quality.

    Ubuntu 24.04 (Docker) · GNU grep 3.11 · OpenAI official deprecations and Image generation docs · 2026-12
  3. OpenAI reusable prompts (pmpt_ IDs) shut down on Nov 30, 2026

    The OpenAI v1/prompts API and reusable prompts (pmpt_ IDs) were shut down Nov 30, 2026. Find pmpt_ in your code and rebuild prompts if only the ID is left.

    Ubuntu 24.04 (Docker) · GNU grep 3.11 · OpenAI official deprecations and prompt object migration docs · 2026-12
  4. OpenAI API 500 "The server had an error": retry and fix

    OpenAI API 500 "The server had an error" is OpenAI-side. The SDK retries twice, quits in a second, so raise retries, check status, then contact support.

    openai-python 3.49.0 · Python 3.12 (Docker) · local mock server · OpenAI official docs · 2026-11
  5. OpenAI WebSocket mode "previous_response_not_found": fix

    previous_response_not_found in Responses API WebSocket mode means the ID is not in the connection's cache. Retry with previous_response_id null and full input.

    Python 3.12 sample JSON test · OpenAI API official docs · 2026-10
  6. Fix OpenAI "Unsupported parameter: 'max_tokens'" (400)

    OpenAI 400 'max_tokens' is not supported: reasoning models reject the old key. Use max_completion_tokens (or max_output_tokens in Responses) and allow room.

    OpenAI API official docs · 2026-10
  7. Fix OpenAI "Unsupported value: 'temperature'" (reasoning)

    OpenAI 400 Unsupported value: 'temperature' means a reasoning model only accepts the default 1. Remove temperature, top_p and top_logprobs from the request.

    OpenAI API official docs · 2026-10
  8. OpenAI API 503 server_is_overloaded: Model temporarily overloaded

    OpenAI API 503 server_is_overloaded is model capacity, not your limits. Wait for Retry-After and retry; the Python SDK already retries twice.

    openai-python 3.39.0 · Python 3.12 · local mock server · OpenAI official docs · 2026-10
  9. Fix OpenAI API 403 "unsupported_country_region_territory"

    OpenAI API 403 unsupported_country_region_territory means your egress IP was placed outside supported countries. Check the server IP; report a misplacement.

    OpenAI API official docs · 2026-10
  10. OpenAI: Your organization must be verified to stream this model

    OpenAI must be verified to stream this model blocks streaming that model until the org is verified. Try with stream off; after verifying, wait 15 minutes.

    OpenAI API error text and OpenAI Help Center article · 2026-10
  11. Fix OpenAI API 400 "Invalid service_tier argument"

    OpenAI API 400 Invalid service_tier argument means the requested service tier is not allowed for the project. Send an allowed tier or change project settings.

    openai-python 3.39.0 · local mock server · OpenAI official docs · 2026-10
  12. Fix OpenAI API 429 "You exceeded your current quota"

    The OpenAI API 429 "You exceeded your current quota" is a credit or spend-limit problem, not a rate limit. Read error.code to find the cause and fix billing.

    OpenAI API official docs · 2026-10
  13. Fix OpenAI API 429 "Rate limit reached ... tokens per min"

    When the OpenAI API returns 429 with tokens per min (TPM) Limit, Used and Requested, learn to read the numbers, then cut max_tokens, wait, or batch.

    OpenAI API official docs · 2026-10
  14. Fix OpenAI API 401 "Incorrect API key provided"

    When the OpenAI API answers 401 Incorrect API key provided, read the masked key in the message and rule out env variables, spaces, wrong project, deleted keys.

    curl 8.12 · OpenAI API official docs · 2026-10
  15. "maximum context length" error but tiktoken says it fits

    tiktoken counts 73,878 tokens but the API says 249,114. Estimate the full request offline: system, tools, schema, history and reserved output.

    Ubuntu 24.04 · Python 3.12 · tiktoken 0.14.0 · OpenAI docs as of 2026-10 (no API calls)