crisphive

Códigos de error

Todos los códigos de error que actualmente devuelve la API pública, generados a partir de la especificación OpenAPI. Una respuesta fallida incluye el código en el campo error_code del sobre.

Código de errorEstado HTTPDevuelto por
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

Despacho de emergencia (vista previa privada)

La superficie de vista previa de despacho de emergencia añade sus propios códigos mientras está en vista previa privada:

Código de errorEstado HTTPSignificado
EMERGENCY_RESCHEDULE_INVALID_INPUT400El cuerpo de la solicitud de vista previa de emergencia no superó la validación.