Type Mismatch
Erroneous Code Example
This error occurs when the type of a value you’re providing doesn’t match the expected field type defined in your schema. For example, the fieldage is defined as an integer in the schema but you’re providing a string.
Solution
- Solution 1
- Solution 2
Either change the type of the field in the schema to
U32.