Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
m
Line 143: Line 143:
# This error occurs when using the `include` parameter (e.g., for prompt caching or encrypted content) with a model that does not support it. GPT-4.1 does not support encrypted/included content in this way.
# This error occurs when using the `include` parameter (e.g., for prompt caching or encrypted content) with a model that does not support it. GPT-4.1 does not support encrypted/included content in this way.
# Remove or omit the `include` parameter from your API request payload.
# Remove or omit the `include` parameter from your API request payload.
# Alternatively, switch to a model that supports this feature, such as reasoning models like GPT-5.2 or later.
# See more details on OpenAI's model documentation: https://platform.openai.com/docs/models
# See more details on OpenAI's model documentation: https://platform.openai.com/docs/models


Navigation menu