Microsoft Azure · Schema

Azure Error Response

The common error response schema for all Azure Resource Manager APIs. This follows the Azure REST API guidelines for error handling, providing structured error information including error codes, messages, targets, and nested details for comprehensive error diagnostics.

API ManagementCloudCloud ComputingEnterpriseInfrastructure-as-a-ServicePlatform-as-a-ServiceT1

Properties

Name Type Description
error object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.api.gov/microsoft-azure/error-response",
  "title": "Azure Error Response",
  "description": "The common error response schema for all Azure Resource Manager APIs. This follows the Azure REST API guidelines for error handling, providing structured error information including error codes, messages, targets, and nested details for comprehensive error diagnostics.",
  "type": "object",
  "properties": {
    "error": {
      "$ref": "#/$defs/ErrorDetail"
    }
  },
  "$defs": {
    "ErrorDetail": {
      "type": "object",
      "description": "The error detail.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The error code. This is a machine-readable identifier for the error that can be used for programmatic error handling.",
          "readOnly": true,
          "examples": [
            "ResourceNotFound",
            "InvalidRequestContent",
            "AuthorizationFailed",
            "ResourceGroupNotFound",
            "SubscriptionNotFound",
            "MissingSubscriptionRegistration",
            "InvalidParameter",
            "ConflictError",
            "OperationNotAllowed"
          ]
        },
        "message": {
          "type": "string",
          "description": "The error message. This is a human-readable description of the error intended for display in a user interface.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target. This identifies the specific element (property name, path, etc.) that is the source of the error.",
          "readOnly": true
        },
        "details": {
          "type": "array",
          "description": "The error details. A list of additional error objects providing more granular information about the error.",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          }
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info. Additional structured data about the error for programmatic consumption.",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          }
        }
      }
    },
    "ErrorAdditionalInfo": {
      "type": "object",
      "description": "The resource management error additional info.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The additional info type. Identifies the schema of the info property.",
          "readOnly": true
        },
        "info": {
          "type": "object",
          "description": "The additional info. Contains structured data specific to the error additional info type.",
          "readOnly": true
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-error-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.