エラーコード
OpenAPI 仕様から生成された、公開 API が現在返すすべてのエラーコードです。失敗レスポンスでは、エンベロープの 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 | 緊急プレビューのリクエストボディがバリデーションに失敗しました。 |