Serial Number base data type must be integer, character or mask error

From time to time we get this error when trying to select serial numbers on the customer shipment, and sometimes in MES when reporting serial numbers complete. Any ideas on what could be happening?

Check the serial number format in the Part Entry -> Sites - Details tab.