Perhaps you can add a user-defined column that shows you what the result of the mask would be.
Put that, what you use as format string as "Value" for the column definition. (Leave the fields field and sort by empty).
This may show you where the error occurs