Return Code Description

The TaskD return codes are shown in the following table.

Table 1 TaskD return codes

Return CodeValueDescription
OK0The API call is successful.
UnRegistry400The Job ID is not registered.
OrderMix401The request does not comply with the state machine order.
JobNotExist402The Job ID does not exist.
ProcessRescheduleOff403The process-level recovery is disabled.
ProcessNotReady404The training process is not started.
RecoverableRetryError405Recovery failed due to a device cleanup failure.
UnRecoverableRetryError406Recovery failed due to a device stop failure.
DumpError407Failed to save the dying gasps.
UnInit408Initialization is not called.
ClientError499Other failure reasons.
OutOfMaxServeJobs500The maximum number of service jobs has been exceeded.
OperateConfigMapError501Failed to operate ConfigMap.
OperatePodGroupError502Failed to operate PodGroup.
ScheduleTimeout503Pod scheduling timed out.
SignalQueueBusy504Failed to enqueue the control signal.
EventQueueBusy505Failed to enqueue the state machine event.
ControllerEventCancel506The state machine has exited.
WaitReportTimeout507Timed out waiting for the client to call the API.
WaitPlatStrategyTimeout508Timed out waiting for the AI platform to prepare the recovery strategy.
WriteConfirmFaultOrWaitPlatResultFault509AI platform fault information error.
ServerInnerError599Internal server error.