Improved reporting of invalid data in arguments