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

# ServiceError (JSON)

> ServiceError (JSON)

# ServiceError (JSON)

서비스 호출이 실패했을 때 반환되는 오류에 대한 정보를 포함합니다.

## ServiceError

ServiceError 개체는 다음 사양을 가집니다.

| 멤버 | 형식 | 설명 |
| - | - | - |
| code | 32비트 부호 있는 정수 | 오류의 유형입니다. 가능한 값은 아래 표를 참조하십시오. |
| source | string | 오류를 발생시킨 서비스의 이름입니다. 예를 들어 `ReputationFD` 값은 오류가 reputation 서비스에서 발생했음을 나타냅니다. |
| description | string | 오류에 대한 설명입니다. |

### 오류 코드

\| 값| 설명|
\| --- | --- | --- | --- | --- |
\| 0| Success 오류 없음|
\| 4000| Invalid Request Body POST 요청과 함께 제출된 JSON 문서가 유효성 검사에 실패했습니다. 자세한 내용은 description 필드를 참조하십시오. |
\| 4100| User Does Not Exist 요청 URI에 포함된 XUID가 XBOX Live에서 유효한 사용자를 나타내지 않습니다.|
\| 4500| Authorization Error 호출자가 요청된 작업을 수행할 권한이 없습니다.|
\| 5000| Service Error 서비스에 내부 오류가 발생했습니다.|
\| 5300| Service Unavailable 서비스를 사용할 수 없습니다.|

## 샘플 JSON 구문

```json theme={null}
{
    "code": 4000,
    "source": "ReputationFD",
    "description": "No targetXuid field was supplied in the request"
}
    
```

## 함께 보기

##### 상위

[JSON(JavaScript Object Notation) 개체 참조](/ko/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Renewing a User Store ID key](/publishing/xstore-commerce/xstore-renew-userstoreid.md)
- [Renovación de una clave de User Store ID](/es/publishing/xstore-commerce/xstore-renew-userstoreid.md)
- [续订 User Store ID 密钥](/zh-CN/publishing/xstore-commerce/xstore-renew-userstoreid.md)
- [collections.mp.microsoft.com/v8.0/collections/consume](/reference/microsoft-store-apis/xstore-v8-consume.md)
- [purchase.mp.microsoft.com/v7.0/purchases/grant](/reference/microsoft-store-apis/xstore-v8-grant.md)
