Azure OpenAI (Microsoft Foundry) error
Azure OpenAI 404 Not Found: what it means and how to fix it
404 Not FoundRetry? Not statedLast verified 1 documented fix1 source
What it means
The endpoint, deployment, or API version in the request could not be found.
Causes
- Incorrect endpoint URL
- Deployment name does not exist
- Unsupported API version
How to fix it
- Fix 1.
Verify your endpoint URL, deployment name, and API version in the REST API reference.
More Azure OpenAI errors
All 15 Azure OpenAI errors400 Bad RequestRetry? Not stated400 content_filterRetry? Not stated200 finish_reason: content_filterRetry? Not stated200 content_filter_error (The contents are not filtered)Retry? Not stated401 UnauthorizedRetry? Not stated403 Forbidden (network access denied)Retry? Not stated403 Forbidden (resource has been temporarily blocked)Retry? Not stated429 Too Many Requests (Rate limit is exceeded)Retry? Yes
HTTP 404 at other providers
Compare 404 across providers404 ResourceNotFoundExceptionRetry? NoAmazon Bedrock404 FTUFormNotFilledRetry? Not statedAmazon Bedrock404 not_found_errorRetry? Not statedAnthropic API404 Not FoundRetry? Not statedCohere API404 not_foundRetry? NoGemini API404 model_not_foundRetry? NoGemini API404 NOT_FOUNDRetry? NoGemini API404 Not FoundRetry? Not statedGroq API404 Not foundRetry? Not statedMistral API404 NotFoundErrorRetry? Not statedOpenAI API404 image_not_foundRetry? Not statedOpenRouter404 not_foundRetry? Not statedOpenRouter
FAQ
What does the Azure OpenAI error "404 Not Found" mean?
The endpoint, deployment, or API version in the request could not be found.
How do I fix Azure OpenAI "404 Not Found"?
Verify your endpoint URL, deployment name, and API version in the REST API reference.
Should I retry Azure OpenAI "404 Not Found"?
Not stated. The official docs do not say whether this error is retryable.
Which other AI APIs return HTTP 404?
Per their official error docs: Amazon Bedrock (404 ResourceNotFoundException; 404 FTUFormNotFilled), Anthropic API (404 not_found_error), Cohere API (404 Not Found), Gemini API (404 not_found; 404 model_not_found; 404 NOT_FOUND), Groq API (404 Not Found), Mistral API (404 Not found), OpenAI API (404 NotFoundError), OpenRouter (404 image_not_found; 404 not_found), Vertex AI (404 NOT_FOUND), xAI API (404 Not Found).
Sources
Last verified against 1 source: Azure OpenAI's official docs and official SDK repositories.
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.