Error Handling
Brightmall Vendor API의 에러 처리 방법입니다.
Error Response Format
모든 에러 응답은 동일한 JSON 구조를 따릅니다:
{
"success": false,
"data": null,
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error description"
}
}Error Categories
| Category | HTTP Status | Description |
|---|---|---|
| Authentication | 401 | 인증 실패 (API 키 무효/만료) |
| Authorization | 403 | 권한 부족 |
| Validation | 400 | 요청 데이터 유효성 검증 실패 |
| Not Found | 404 | 리소스를 찾을 수 없음 |
| Rate Limit | 429 | 요청 한도 초과 |
| Server Error | 500 | 서버 내부 오류 |
Last updated on