CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation errorFriday, November 20, 2020 at 08:25am
CreatePackage with multiple documents works fine. CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error. I can see in the stack trace:
at Silanis.ESL.SDK.Services.PackageService.CreatePackageOneStep(Package package, ICollection`1 documents)
at Silanis.ESL.SDK.EslClient.CreatePackageOneStep(DocumentPackage package)
Looks like it is only passing 1 document in the service call even though we are passing multiple documents in the package when we call CreatePackageOneStep.