According to docs, bulkInsert returns (amongst other) a .skipped and a .errors.
Question 1: under which conditions is an insert skipped?
Question 2: .errors returns an array. But I do not receive any errors, so has anyone got any clue about what this array might hold?
Received word from Wix:
"#1Items can be skipped if
User has no permissions to insert
Item already exists
Hook prevented item from being inserted
#2As bulkInsert is just a faster way to do multiple inserts, the individual errors that occurred during processing individual items will be collected in errors. Say 1 and 3 above will collect the errors produced. Ex. inserting two items and not having permissions will generate two WDE0027 errors."