An error has occurred when performing an Insert-Update
When I run my DocGen Package, I'm getting an error like such:
An error has occurred when performing an Insert-Update: '(error message)' Note: (error message) portion of this error will vary
This error will appear if there are validation rules on the object that is blocking our service from updating the record. Our service will not be able to override any validation rules that are set on the object.
You will need to update your Insert-Update to update the fields that are necessary in order for the validation rule to allow the updating of the record to happen.
Another thing you may want to take a look at is your insert-update. If there are any invalid pairings (such as a name value being entered in for a record ID field), this could potentially cause this error when running your package.