오류 코드
공개 API가 현재 반환하는 모든 오류 코드로, OpenAPI 스펙에서 생성되었습니다. 실패 응답은 엔벨로프의 error_code 필드에 코드를 담아 반환합니다.
| 오류 코드 | HTTP 상태 | 반환 위치 |
|---|---|---|
INVALID_REQUEST_BODY | 400 | create-customer, list-skills-by-category, list-technicians, update-customer |
PHONE_OR_EMAIL_REQUIRED | 400 | create-customer |
WRONG_QUERY | 400 | list-customers, list-skill-categories, list-skills-by-category |
UNAUTHORIZED | 401 | create-customer, delete-customer, get-customer, get-job-type, get-service-area, get-technician, get-vehicle, list-customers, list-job-types, list-service-areas, list-skill-categories, list-skills, list-skills-by-category, list-technicians, list-vehicles, update-customer |
BUSINESS_NOT_FOUND | 404 | create-customer |
CUSTOMER_NOT_FOUND | 404 | delete-customer, get-customer, update-customer |
JOB_TYPE_NOT_FOUND | 404 | get-job-type |
SERVICE_AREA_NOT_FOUND | 404 | get-service-area |
SKILL_CATEGORY_NOT_FOUND | 404 | list-skills-by-category |
TECHNICIAN_NOT_FOUND | 404 | get-technician |
VEHICLE_NOT_FOUND | 404 | get-vehicle |
CUSTOMER_DUPLICATE_EMAIL | 409 | create-customer, update-customer |
CUSTOMER_DUPLICATE_PHONE | 409 | create-customer, update-customer |
CUSTOMER_DUPLICATE_UID | 409 | create-customer |
긴급 디스패치(프라이빗 프리뷰)
긴급 디스패치 프리뷰 기능은 프라이빗 프리뷰 기간 동안 자체 코드를 추가로 사용합니다:
| 오류 코드 | HTTP 상태 | 의미 |
|---|---|---|
EMERGENCY_RESCHEDULE_INVALID_INPUT | 400 | 긴급 프리뷰 요청 본문이 유효성 검증에 실패했습니다. |