foo is not one of the predefined iTunes episode type
itunes:episodeType can only be populated using one of the predefined values "full", "trailer", "bonus", as listed in the specification.
Change the attribute value to one of the allowed values "full", "trailer", "bonus".
Not clear? Disagree?
You might be able to find help in one of these fine resources.