# 에러 처리

## 에러 처리 방법 <a href="#how-to-handle-error" id="how-to-handle-error"></a>

* Response의 HTTP Code와 detail 메시지를 확인하세요.
* 추후 보완 예정입니다.

**예시** : 고객 레코드에 중복된 이메일 정보로 등록을 요청했을 때 발생하는 에러

```
// 고객 레코드에 중복된 이메일 정보로 등록을 요청했을 때 발생하는 에러
{
    "detail": {
        "code": "W109",
        "message": "The value of the \"email-addresses\" attribute must be unique."
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trackit.so/integrations/http-api/error-handling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
