an error when the uploaded labels are of the wrong length