The API deployment for this resource does not exist

Sworna M Dunant 26 Reputation points
2025-05-02T23:26:39.9033333+00:00

Azure Open AI Service is unavailable. Seeing the below API response

{"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."}}

Location East US

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

1 answer

Sort by: Most helpful
  1. SriLakshmi C 5,285 Reputation points Microsoft External Staff Moderator
    2025-05-05T17:23:44.6066667+00:00

    Hello @Sworna M Dunant,

    I understand that you're running into an issue with the Azure OpenAI Service, specifically the "DeploymentNotFound" error. This typically means that the API deployment you're trying to access doesn't exist, which can happen for a few reasons.

    To troubleshoot this further, you may consider the following steps:

    Make sure the deployment name specified in your API request exactly matches the name you used when creating the deployment in the Azure portal.

    If you just created the deployment, it's possible the deployment hasn't fully propagated yet. Azure may take a few minutes to make it available. Wait about 5-10 minutes and try your request again.

    Use the appropriate endpoint to verify the status of your deployments. For example, you can run the following request:

    curl -X GET \
      -H "Ocp-Apim-Subscription-Key: {API-KEY}" \
      -H "Content-Type: application/json" \
      'https://{ENDPOINT}/language/query-knowledgebases/projects/{PROJECT-NAME}/deployments/production/jobs/{JOB-ID}?api-version=2021-10-01'
    

    Make sure to replace {API-KEY}, {ENDPOINT}, {PROJECT-NAME}, and {JOB-ID} with your actual values.

    Sometimes, there could be an ARM cache or replication issue. To handle this, consider adding a delay in your deployment process to allow Azure time to update the cache.

    I hope this helps, do let me know if you have further queries.

    Thank you!

    0 comments No comments

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.