Error

Schema Definition

This is the schema definition for the Error resource.

Properties

PropertyTypeNullableRequiredPermissionDescription
error {Objectread-onlyThe object containing the error information.
    @Message.ExtendedInfo [ {Array[Object]read-onlyAn array of message objects describing one or more error message(s).
        MessageStringYesread-onlyThis is the human readable message, if provided.
        MessageArgs [ ]Array[String]read-onlyThis array of message arguments are substituted for the arguments in the message when looked up in the message registry.
        MessageArgs@odata.countInt32read-onlyThe number of items in a collection.
        MessageIdStringGETread-onlyThis is the key for this message which can be used to look up the message in a message registry.
        RelatedProperties [ ]Array[String]read-onlyThis is an array of properties described by the message.
        RelatedProperties@odata.countInt32read-onlyThe number of items in a collection.
        ResolutionStringYesread-onlyUsed to provide suggestions on how to resolve the situation that caused the error.
        SeverityStringYesread-onlyThis is the severity of the errors.
    } ]
    @Message.ExtendedInfo@odata.countInt32read-onlyThe number of items in a collection.
    codeStringread-onlyA string indicating a specific MessageId from the message registry. 'Base.1.0.GeneralError' should be used only if there is no better message.
    messageStringread-onlyA human readable error message corresponding to the message in the message registry.
}

Response

{
    "error": {
        "@Message.ExtendedInfo": [{
            "Message": "String",
            "MessageArgs": [ "String" ],
            "MessageArgs@odata.count": 1,
            "MessageId": "String",
            "RelatedProperties": [ "String" ],
            "RelatedProperties@odata.count": 1,
            "Resolution": "String",
            "Severity": "String"
        }]
        "@Message.ExtendedInfo@odata.count": 1,
        "code": "String",
        "message": "String"
    }
}