> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ServiceErrorResponse (JSON)

> 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

```json theme={null}
{
   "errorCode": 8377,
   "errorMessage": "XUID specified in the claim does not match URI XUID."
 }
    
```

## See also

##### Parent

[JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)


## Related topics

- [JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [GameClipsServiceErrorResponse (JSON)](https://docs.xbox.com/reference/live/rest/json/json-gameclipsserviceerrorresponse.md)
- [ServiceError (JSON)](https://docs.xbox.com/reference/live/rest/json/json-serviceerror.md)
- [Unlink Nintendo Service Account](https://docs.xbox.com/services/playfab/api-references/rest/client/account-management/unlink-nintendo-service-account.md)
- [Unlink Google Play Games Services Account](https://docs.xbox.com/services/playfab/api-references/rest/client/account-management/unlink-google-play-games-services-account.md)
