CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 08:25amCreatePackage 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.
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 10:27amHi claur,
Thanks for reaching out to us! Few questions to help me better understand your scenario:
(1)Which .NET SDK version are you using?
(2)Does the .CreatePackageOneStep() function failed in all test cases?
(3)Can you share me a package ID that was successfully created by .CreatePackage() function?
Duo
Reply to: Hi claur, Thanks for…
Friday, November 20, 2020 at 10:56amthanks!
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 11:39amI can reproduce the same with .NET SDK version 11.12. After some research, it's a known issue and has been resolved in version 11.13. So may I know the reason why you are still using an old SDK version? Are you developing with on-premise environment or any other specific reason?
Duo
Reply to: I can reproduce the same…
Friday, November 20, 2020 at 12:13pmI am not sure why we are on 11.12 but we are on-prem. Do you know what the latest version that works on-prem is? Thanks.
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 12:18pmWhich on-premise version you are developing with? (6.2, 7.5, etc)
Duo
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 12:35pm7.2
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 01:08pm7.2 on-premise equals to 11.25 SaaS environment, therefore I would also suggest you to upgrade to 11.25 as attached.
Duo
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 03:27pmThanks. Can you point me to release notes for version 11.25 so we can review the impact of the upgrade?
Reply to: CreatePackageOneStep with multiple documents throws wrongNumberOfFiles validation error
Friday, November 20, 2020 at 04:06pmSure, here you are!
Duo