Skip to content

The common-types ErrorResponse does not correspond to the ARM schema #10767

Open

Description

When I tried to use the ErrorResponse type that is defined in the common-types swagger specs, I got an error that the type defined in common-types does not match the schema

"the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.",
  "id": "R4007",
  "validationCategory": "ARMViolation",

The errorResponse Type is defined as seen here:

Since it doesn't have the "error" property, it doesn't work to be used in other projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions