Might be a late response but this error can be triggered if for example you're inserting an array of mismatched objects, for example:
array of objects:
obj 1 => { a: 'some value', b: 'some other value' }
obj 2 => { a: 'some value' // missing b } => should be {a: 'some value', b: undefined or null}