crisphive

오류 코드

공개 API가 현재 반환하는 모든 오류 코드로, OpenAPI 스펙에서 생성되었습니다. 실패 응답은 엔벨로프의 error_code 필드에 코드를 담아 반환합니다.

오류 코드HTTP 상태반환 위치
INVALID_REQUEST_BODY400create-customer, list-skills-by-category, list-technicians, update-customer
PHONE_OR_EMAIL_REQUIRED400create-customer
WRONG_QUERY400list-customers, list-skill-categories, list-skills-by-category
UNAUTHORIZED401create-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_FOUND404create-customer
CUSTOMER_NOT_FOUND404delete-customer, get-customer, update-customer
JOB_TYPE_NOT_FOUND404get-job-type
SERVICE_AREA_NOT_FOUND404get-service-area
SKILL_CATEGORY_NOT_FOUND404list-skills-by-category
TECHNICIAN_NOT_FOUND404get-technician
VEHICLE_NOT_FOUND404get-vehicle
CUSTOMER_DUPLICATE_EMAIL409create-customer, update-customer
CUSTOMER_DUPLICATE_PHONE409create-customer, update-customer
CUSTOMER_DUPLICATE_UID409create-customer

긴급 디스패치(프라이빗 프리뷰)

긴급 디스패치 프리뷰 기능은 프라이빗 프리뷰 기간 동안 자체 코드를 추가로 사용합니다:

오류 코드HTTP 상태의미
EMERGENCY_RESCHEDULE_INVALID_INPUT400긴급 프리뷰 요청 본문이 유효성 검증에 실패했습니다.