Throw error when using a field name that does not exist in the schema