# ERRORCODE

## Access Token

| status\_code | error\_code            | error\_message                  |
| ------------ | ---------------------- | ------------------------------- |
| 400          | MISSING\_AUTH\_HEADER  | Authorization header is missing |
| 400          | INVALID\_TOKEN\_PREFIX | Invalid token prefix            |
| 400          | INVALID\_TOKEN\_VALUE  | Invalid token value             |
| 401          | TOKEN\_EXPIRED         | Token has expired.              |
| 401          | INVALID\_TOKEN         | Invalid token.                  |

## Validation

| status\_code | error\_code        | error\_message                                                                      |
| ------------ | ------------------ | ----------------------------------------------------------------------------------- |
| 400          | INVALID\_VALUE     | Invalid value for boolean parameter. Expected 'true' or 'false', but got '{param}'. |
| 400          | TOKEN\_MISMATCH    | Token does not match the user\_id.                                                  |
| 404          | USER\_NOT\_FOUND   | User not found.                                                                     |
| 404          | FOLDER\_NOT\_FOUND | Folder not found.                                                                   |

## Storage

| status\_code | error\_code           | error\_message  |
| ------------ | --------------------- | --------------- |
| 402          | INSUFFICIENT\_STORAGE | 스토리지 용량이 부족합니다. |

## Image

| status\_code | error\_code              | error\_message                                                      |
| ------------ | ------------------------ | ------------------------------------------------------------------- |
| 400          | UNSUPPORTED\_FORMAT      | Unsupported image format or corrupted file.                         |
| 400          | INCOMPLETE\_GPS\_INFO    | Incomplete GPS information in EXIF data.                            |
| 500          | EXTRACT\_LAT\_LNG\_ERROR | Unexpected error occurred while extract\_lat\_lng\_from\_image.     |
| 500          | HASH\_FAILURE            | Error occurred while converting image to MD5 hash.                  |
| 500          | RESIZE\_FAILURE          | Unexpected error occurred while resizing the image.                 |
| 500          | S3\_UPLOAD\_ORG\_ERROR   | Unexpected error occurred during the original image upload process. |
| 500          | GET\_TEMP\_URL\_ERROR    | Unexpected error occurred while getting temp url.                   |
| 500          | UNEXPECTED\_ERROR        | 이미지 처리 중 오류가 발생했습니다.                                                |

## S3

| status\_code | error\_code                 | error\_message                                                  |
| ------------ | --------------------------- | --------------------------------------------------------------- |
| 500          | S3\_UPLOAD\_FAILURE         | Unexpected error occurred while uploading original image to S3. |
| 500          | S3\_PRESIGNED\_URL\_FAILURE | Failed to generate presigned URL.                               |
|              |                             |                                                                 |

## Naver Reverse Geocoding

| status\_code | error\_code          | error\_message                                    |
| ------------ | -------------------- | ------------------------------------------------- |
| 500          | NAVER\_API\_ERROR    | Failed to fetch data from Naver API. {NAVERError} |
| 500          | JSON\_DECODE\_ERROR  | Failed to decode JSON from Naver API.             |
| 500          | API\_RESPONSE\_ERROR | Naver API returned an error.                      |

## Database

| status\_code | error\_code       | error\_message                                       |
| ------------ | ----------------- | ---------------------------------------------------- |
| 500          | DB\_SAVE\_ERROR   | Database error occurred while saving {entity\_type}. |
| 500          | DB\_UPDATE\_ERROR | Database error occurred while updating entity.       |


---

# 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.pic-origin.com/errorcode/errorcode.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.
