Change8
Error8 reports

Fix NotFoundError

in OpenAI Python SDK

Solution

The "NotFoundError" in the openai-python-sdk often arises from using an incorrect or unsupported API endpoint, particularly with Azure OpenAI or preview API versions. To resolve this, double-check that the API endpoint, deployment name, and API version are accurate and supported by your Azure OpenAI service and model. Ensure that the requested functionality (e.g., edits, tools) is available for the specific model and API version you're using.

Timeline

First reported:Feb 11, 2025
Last reported:Sep 4, 2025

Need More Help?

View the full changelog and migration guides for OpenAI Python SDK

View OpenAI Python SDK Changelog