code":"404","message": "Resource not found"

sebastian holst 0 Reputation points
2025-05-01T02:34:24.9933333+00:00

I have an Azure OpenAI resource with a valid GPT deployment (confirmed via Azure Portal), but when making requests via Python (AzureOpenAI SDK) or directly via REST API (/openai/deployments?api-version=2023-05-15), I'm consistently receiving a 404 "DeploymentNotFound" error. I've double-checked the endpoint URL, API version, deployment name, API key, subscription, resource group, and network settings—all are correct and match exactly with the Azure portal details. I'm looking for guidance on why Azure OpenAI is still returning 404 errors despite a confirmed deployment.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,946 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.