see why it fails to set the job status to error