I am trying to convert haps files to bed files, and I keep running into this same error:

I also tried this with a subsample of my dataset (included attached to this), same error:

The number of variants does not seem to matter, nor the number of samples. I've thoroughly check the quality and format of my files and I see nothing amiss. This is my log:

That's all there is. The only thing I can think of is that possibly plink2 doesn't like the way some of my variants are named? I am using this on some atypical haps files that include knockoff variants denoted with a '.k' suffix. A previous workaround I used was to keep the knockoffs and real variants haps files separate, convert to bed files with plink2, then rename the knockoff variants with the proper suffix and merge them together again. This fix is no longer working, as you can see from the first screenshot working on the non-merged files (it was working last week...). Hopefully someone can help or has seen this before! I can share more of my workflow if need be, but essentially the goal is to turn these haps files back to bed files.
I added my merged subset files for reproducibility. Thanks!