The 'NAICSCode' element is invalid - The value 'p' is invalid according to its datatype - The Pattern constraint failed

What does this efile error mean and how do I fix it?

Is this for a T2? Check to make sure the NAICS code entered on Info is valid. In T1, this is entered on the individual Income forms. The NAICS list was updated last year and it may be the one you have entered is no long part of the current list.

Thanks - Solved the problem!

The absolute BANE of our tax lives…NAICS codes on T5013s which aren’t supplied by the investment organizer. Blech.

(Which has nothing to do with the issue but I just got YET another one…)