Error Responses
Published: July 13, 2016
Updated: July 12, 2016
An error in an operation will return the appropriate HTTP error code and a response body containing an error code and a descriptive message. Messages will be localized per the Accept-Language header specified in the request.
{
"error":
{
"code":"AlertNotFound",
"message":"The alert goo could not be found"
}
}
HTTP Status Code | Error Code | Description |
|---|---|---|
401 Unauthorized | Subscription not registered | The subscription is not registered to use Microsoft.Security |
404 Not Found | Policy name error | The policy name is invalid |
404 Bad Request | Bad parameters | The given parameters are not valid |
Show: