Not Monitored
Tag not monitored by Microsoft.
25,567 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm gettin the following error message when calling the Azure OpenAI API using Python json.
#<Response [404]>
#{
# "error": {
# "code": "DeploymentNotFound",
# "message": "The API deployment for this resource does not exist. If you #created the deployment within the last 5 minutes, please wait a moment and try #again."
# }
#}
I resolved the issue by removing hyphens from the deployment name. The problem is that the model deployment name create prompt in Azure OpenAI, Model Deployments states that '-', '', and '.' are allowed. However, when you create the deployment name in the OpenAI Studio, the create prompt does not allow '-', '', and '.' . This is inconsistent between the two different methods to create a deployment name.
Variable values have been populated. I believe that the error occurs during the request.