JasonE | Posts: 13

DocumentConversionCommand failed and failed retrieving fallback

0 votes
Hello, This was working yesterday, and now I'm getting the following error. There haven't been any code changes on our end. Using .NET SDK version 11.0.0. Could not upload document to package. Exception: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI https://sandbox.esignlive.com/api/packages/rOof_sctLMDJr_QKH2E2mmImO0A=/documents. Optional details: {"messageKey":"error.internal.default","technical":"DocumentConversionCommand failed and failed retrieving fallback.","message":"Unexpected error. We apologize for any inconvenience this may have caused you, please try again. If the problem persists, please contact our support team.","code":500,"name":"Unhandled Server Error"} at Silanis.ESL.SDK.Services.PackageService.UploadDocument(DocumentPackage package, String fileName, Byte[] fileBytes, Document document) at Silanis.ESL.SDK.EslClient.UploadDocument(String fileName, Byte[] fileContent, Document document, DocumentPackage documentPackage) at Silanis.ESL.SDK.EslClient.UploadDocument(Document document, DocumentPackage documentPackage) at Silanis.ESL.SDK.EslClient.UploadDocument(Document document, PackageId packageId) at SWYS.Signing.Silanis6.Silanis6Client.AddConsentDocumentToPackage(DocumentPackage package, Document consentDocument) in C:\Users\ealaja\Source\Repos\swys.backend\src\Signing\SWYS.Signing.Services\Signing\Silanis6\Silanis6Client.cs:line 93 at SWYS.Signing.Silanis6.Silanis6Service.AddConsentDocumentToPackage(DealJacket dealJacket, String consentText, String packageId, DocumentPackage package) in C:\Users\ealaja\Source\Repos\swys.backend\src\Signing\SWYS.Signing.Services\Signing\Silanis6\Silanis6Service.cs:line 91 at SWYS.Signing.Silanis6.Silanis6Service.AddDocumentsToPackage(DealJacket dealJacket, IDealJacketSignersRepository dealJacketSignersRepo, String consentDocumentPackageId) in C:\Users\ealaja\Source\Repos\swys.backend\src\Signing\SWYS.Signing.Services\Signing\Silanis6\Silanis6Service.cs:line 72 at SWYS.Signing.Silanis6.Silanis6DealJacketHandler.Handle(DealJacket dealJacket) in C:\Users\ealaja\Source\Repos\swys.backend\src\Signing\SWYS.Signing.Services\Signing\Silanis6\Silanis6DealJacketHandler.cs:line 124 at SWYS.Signing.Requests6.SigningRequestHandler.Handle(SigningRequest message) in C:\Users\ealaja\Source\Repos\swys.backend\src\Signing\SWYS.Signing.Requests6.Host\Requests\SigningRequestHandler.cs:line 64 at lambda_method(Closure , Object , Object ) at NServiceBus.Unicast.HandlerInvocationCache.Invoke(Object handler, Object message, Dictionary`2 dictionary) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Unicast\HandlerInvocationCache.cs:line 63 at NServiceBus.Unicast.Behaviors.LoadHandlersBehavior.b__1(Object handlerInstance, Object message) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Unicast\Behaviors\LoadHandlersBehavior.cs:line 42 at NServiceBus.Unicast.Behaviors.InvokeHandlersBehavior.DispatchMessageToHandlersBasedOnType(IBuilder builder, LogicalMessage toHandle, MessageHandler messageHandler) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Unicast\Behaviors\InvokeHandlersBehavior.cs:line 63 at NServiceBus.Unicast.Behaviors.InvokeHandlersBehavior.Invoke(HandlerInvocationContext context, Action next) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Unicast\Behaviors\InvokeHandlersBehavior.cs:line 25 at NServiceBus.Pipeline.BehaviorChain`1.InvokeNext(T context) in y:\BuildAgent\work\31f8c64a6e8a2d7c\src\NServiceBus.Core\Pipeline\BehaviorChain.cs:line 51 Our code.... _client.PackageService.Edit(package.Id); _client.UploadDocument(consentDocument, package.Id); _client.UpdatePackage(package.Id, package); _client.SendPackage(package.Id); Any assistance is appreciated. Thanks

harishaidary | Posts: 1812

Reply to: DocumentConversionCommand failed and failed retrieving fallback

0 votes
Hi Jason, Can you send your pdf document to [email protected] so I can have a look at it? Please make sure it doesn't contain any sensitive data.

JasonE | Posts: 13

Reply to: DocumentConversionCommand failed and failed retrieving fallback

0 votes
This ended up being an issue on our end! We generate the document, and the byte array was coming back as empty. We were having issues retrieving the text.

harishaidary | Posts: 1812

Reply to: DocumentConversionCommand failed and failed retrieving fallback

0 votes
Good to hear you found the cause of the issue. Let me know if you have any other questions.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off