Message

foo is not one of the predefined iTunes channel type

Explanation

itunes:type can only be populated using one of the predefined values "episodic" or "serial", as listed in the specification.

Solution

Change the attribute value to one of the allowed values "episodic" or "serial".

Not clear? Disagree?

You might be able to find help in one of these fine resources.