You can read miniseed record by record to find the problematic ones, something like..
with open("..", "rb") as fh:
record = fh.read(512) # depends on your data, most likely 512, 1024 or 2049
bio = io.BytesIO(record)
st = read(bio, "MSEED")
... # do some checks here or stop on warning messages etc