ServiceErrorResponse (JSON)

When a service error is encountered, an appropriate HTTP error code will be returned. Optionally, the service may also include a ServiceErrorResponse object as defined below. In production environments, less data may be included.

ServiceErrorResponse

The ServiceErrorResponse object has the following specification.

Member Type Description
errorCode 32-bit signed integer Code associated with the error (can be null).
errorMessage string Additional details about the error.

Sample JSON syntax

{
   "errorCode": 8377,
   "errorMessage": "XUID specified in the claim does not match URI XUID."
 }
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference