Field Not in Schema
Erroneous Code Example
This error occurs when you reference a field that is not defined in your schema for a given item type. For example, the fieldusername is not defined in the schema for the User item type.
Solution
Define the fieldusername in the schema for the User item type.