es

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
BUSINESS_LOCATION_MISSING400create-technician, update-technician
EMERGENCY_RESCHEDULE_INVALID_INPUT400commit-emergency-reschedule, list-emergency-candidates, preview-emergency-reschedule
INVALID_REQUEST_BODY400commit-emergency-reschedule, commit-job-request-move, confirm-job-request, create-customer, create-job-request, create-technician, get-job-request, get-job-request-timeline, get-technician-schedule, list-emergency-candidates, list-job-request-booking-windows, list-job-request-changes, list-job-requests, list-job-types, list-service-areas, list-skills-by-category, list-technician-skills, list-technicians, list-vehicles, preview-emergency-reschedule, preview-job-request-move, quote-job-request, replace-technician-buddies, replace-technician-leads, replace-technician-service-areas, replace-technician-skills, replace-technician-vehicles, update-customer, update-job-priority, update-technician
INVALID_TIMEZONE400create-job-request, list-job-request-booking-windows
JOB_REQUEST_ADDRESS_REQUIRED400create-job-request
JOB_REQUEST_INVALID_INPUT400confirm-job-request, create-job-request, get-technician-schedule, list-crew-candidates, list-matching-slots, list-nearby-technicians, quote-job-request, update-job-priority
PHONE_INVALID400create-customer, create-technician, update-customer, update-technician
PHONE_OR_EMAIL_REQUIRED400create-customer
SCHEDULE_MOVE_INVALID_INPUT400commit-job-request-move, preview-job-request-move
TECHNICIAN_CONTACT_REQUIRED400create-technician, update-technician
TECHNICIAN_INVALID_BUDDY400replace-technician-buddies, replace-technician-leads
TECHNICIAN_INVALID_TIER400create-technician, update-technician
WRONG_QUERY400list-customers, list-skill-categories, list-skills-by-category, list-technician-skills
API_KEY_INVALID401commit-emergency-reschedule, commit-job-request-move, confirm-job-request, create-job-request, get-job-request, get-technician-schedule, list-crew-candidates, list-emergency-candidates, list-job-request-booking-windows, list-job-request-changes, list-job-requests, list-matching-slots, list-nearby-technicians, preview-emergency-reschedule, preview-job-request-move, quote-job-request, update-job-priority
UNAUTHORIZED401commit-emergency-reschedule, commit-job-request-move, confirm-job-request, create-customer, create-job-request, create-technician, delete-customer, delete-technician, get-customer, get-job-request, get-job-request-timeline, get-job-type, get-service-area, get-technician, get-technician-schedule, get-vehicle, list-crew-candidates, list-customers, list-emergency-candidates, list-job-request-booking-windows, list-job-request-changes, list-job-requests, list-job-types, list-matching-slots, list-nearby-technicians, list-service-areas, list-skill-categories, list-skills, list-skills-by-category, list-technician-skills, list-technicians, list-vehicles, preview-emergency-reschedule, preview-job-request-move, quote-job-request, replace-technician-buddies, replace-technician-leads, replace-technician-service-areas, replace-technician-skills, replace-technician-vehicles, update-customer, update-job-priority, update-technician
FORBIDDEN403update-job-priority
SANDBOX_MANAGEMENT_ROLE_FORBIDDEN403create-technician, update-technician
TECHNICIAN_GROUP_NOT_ASSIGNABLE403create-technician, update-technician
TECHNICIAN_ROLE_API_KEY_FORBIDDEN403create-technician, update-technician
TECHNICIAN_TARGET_NOT_MANAGEABLE403create-technician, update-technician
BUSINESS_GROUP_NOT_FOUND404create-technician, update-technician
BUSINESS_NOT_FOUND404create-customer
CUSTOMER_NOT_FOUND404create-job-request, delete-customer, get-customer, update-customer
JOB_REQUEST_NOT_FOUND404commit-emergency-reschedule, commit-job-request-move, confirm-job-request, get-job-request, get-job-request-timeline, list-crew-candidates, list-emergency-candidates, list-matching-slots, preview-emergency-reschedule, preview-job-request-move, quote-job-request, update-job-priority
JOB_TYPE_NOT_FOUND404create-job-request, get-job-type
SERVICE_AREA_NOT_FOUND404create-technician, get-service-area
SKILL_CATEGORY_NOT_FOUND404list-skills-by-category
SKILL_NOT_FOUND404create-job-request, replace-technician-skills
TECHNICIAN_NOT_FOUND404create-technician, delete-technician, get-technician, get-technician-schedule, list-technician-skills, replace-technician-buddies, replace-technician-service-areas, replace-technician-skills, replace-technician-vehicles, update-technician
VEHICLE_NOT_FOUND404get-vehicle, replace-technician-vehicles
CUSTOMER_DUPLICATE_EMAIL409create-customer, update-customer
CUSTOMER_DUPLICATE_PHONE409create-customer, update-customer
CUSTOMER_DUPLICATE_UID409create-customer
EMERGENCY_RESCHEDULE_CREW_UNSUPPORTED409commit-emergency-reschedule, preview-emergency-reschedule
EMERGENCY_RESCHEDULE_IN_PAST409commit-emergency-reschedule, preview-emergency-reschedule
EMERGENCY_RESCHEDULE_MULTIDAY_UNSUPPORTED409commit-emergency-reschedule, preview-emergency-reschedule
EMERGENCY_RESCHEDULE_NO_WORKING_DAY409commit-emergency-reschedule, preview-emergency-reschedule
EMERGENCY_RESCHEDULE_NOT_ELIGIBLE409commit-emergency-reschedule, preview-emergency-reschedule
IDEMPOTENCY_IN_PROGRESS409create-job-request
JOB_REQUEST_NO_TECHNICIAN_AVAILABLE409list-crew-candidates
SCHEDULE_MOVE_CREW_UNSTAFFABLE409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_IN_PAST409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_IN_PROGRESS409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_MULTIDAY_UNSUPPORTED409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_NO_WORKING_DAY409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_NOT_ELIGIBLE409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_PLAN_DRIFTED409commit-job-request-move
SCHEDULE_MOVE_REQUIRES_FREE_SLOT409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_SLOT_OCCUPIED409commit-job-request-move, preview-job-request-move
SCHEDULE_MOVE_TECH_INFEASIBLE409commit-job-request-move, preview-job-request-move
SKILL_INACTIVE409create-job-request, replace-technician-skills
TECHNICIAN_ALREADY_MEMBER409create-technician
TECHNICIAN_DUPLICATE_EMAIL409create-technician, update-technician
TECHNICIAN_DUPLICATE_PHONE409create-technician, update-technician
TECHNICIAN_IDENTITY_CONFLICT409create-technician
TECHNICIAN_LAST_OWNER409delete-technician

Expiración de credenciales

Las credenciales tienen duraciones finitas; estos códigos permiten distinguir una expiración de una revocación o de un valor incorrecto:

Código de errorEstado HTTPSignificado
API_KEY_EXPIRED401La clave de API superó su duración — cree una clave de reemplazo. Deliberadamente distinto de API_KEY_INVALID (revocada, eliminada o incorrecta).
OAUTH_GRANT_EXPIRED401La conexión OAuth caducó (ventana de inactividad de 30 días o el tope absoluto) — el propietario debe aprobar la aplicación de nuevo desde la pantalla de consentimiento.
API_KEY_SCOPE_NOT_GRANTED403La clave nueva solicitó alcances más allá de los que posee su creador — vea Autenticación.
WEBHOOK_SECRET_EXPIRED409Se llamó a Verificar en un endpoint cuyo secreto de firma caducó — rote el secreto primero y luego verifique.
API_KEY_EXPIRY_INVALID400La duración de clave solicitada está fuera de 1–365 días.
WEBHOOK_SECRET_EXPIRY_INVALID400La duración solicitada del secreto de firma de webhook está fuera de 1–365 días.
OAUTH_GRANT_LIFETIME_INVALID400El tope de duración de conexión MCP solicitado está fuera de 1–365 días.

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.