kcc: return invalid parameter if the taskId is not 0