404 Resource Not Found

Boyedokup 0 Reputation points
2026-08-06T21:28:53.4066667+00:00

I am getting 404 (Resource Not Found) when I use Azure OpenAI models on coding agents like Claude, Cursor

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 9,000 Reputation points
    2026-08-07T00:59:36.9066667+00:00

    Hello @Boyedokup

    A 404 (Resource Not Found) when using Azure OpenAI from clients such as Claude Desktop, Cursor, or other coding agents typically indicates that the client is calling an endpoint or deployment that Azure OpenAI can't resolve.

    Could you share a few additional details?

    • Which client are you using (Cursor, Claude Desktop, Continue, Cline, etc.)?
    • What is the exact error message (including the response body, if available)?
    • Are you using the Azure OpenAI endpoint (for example, https://<resource-name>.openai.azure.com) and the correct deployment name rather than the model name?
    • Which API version is configured?
    • Does the same deployment work when tested from Azure AI Foundry, the Azure OpenAI playground, or a simple REST/API call?

    A 404 is commonly caused by one of the following:

    • The endpoint URL is incorrect or points to the wrong Azure OpenAI resource.
    • The client is using the model name (for example, gpt-4.1 or gpt-4o) instead of the deployment name you created in Azure OpenAI.
    • The configured API version isn't supported by the deployed model.
    • The deployment has been deleted, renamed, or exists in a different Azure OpenAI resource or region.

    If you can share your client configuration (redacting any API keys) along with the full 404 response, we can help identify the exact cause.

    In many cases, the issue is that the client is configured with the model name instead of the deployment name, as Azure OpenAI APIs expect the deployment name in the request path.

    Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.

    Was this answer helpful?

    0 comments No comments

Your answer

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