This topic contains 9 replies, has 2 voices, and was last updated by  Duo_Liang 1 day, 10 hours ago.

  • Author
    Posts
  • Participant
    nehme
    Senior Member
    Member since: 23.07.2018
    Number of posts: 67

    Hello,

    I am getting the below error while creating a package as one step.

    Silanis.ESL.SDK.EslServerException: ‘Could not create a new package one step. Exception: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI https://sandbox.esignlive.com/api/packages. Optional details: {“messageKey”:”error.internal.default”,”technical”:”[#a65f7b05-eaa5-43db-a90e-a80b6ee2240f]”,”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”}’

    Thanks,
    Nehme

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 290

    Score

    0

    Hi Nehme,

    As per your error message, it seems an entity in your package payload with id of “a65f7b05-eaa5-43db-a90e-a80b6ee2240f” caused this 500 issue. So can you share your payload here or tell me more about your scenario?

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Participant
    nehme
    Senior Member
    Member since: 23.07.2018
    Number of posts: 67

    Score

    0

    Hello Duo,

    How to share the payload with you? From where I will get it.

    I am generating a template from 11 documents, only the first document gives this error.

    Thanks,
    Nehme

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 290

    Score

    0

    Hi Nehme,

    Do your code work well at other “generate template from documents” scenarios and just failed in this case? Can you send your code to developer@esignlive.com and we will discuss more on this once I can get more information?

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Participant
    nehme
    Senior Member
    Member since: 23.07.2018
    Number of posts: 67

    Score

    0

    Hello Duo,

    The code is fine, when I do not use this document inside the template, it will be fine. Only one document inside the template giving me these problem.

    Thanks
    Nehme

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 290

    Score

    0

    Hi Nehme,

    Is there any update about the problem? Can you upload this document with your Web UI Portal without issue?

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Participant
    nehme
    Senior Member
    Member since: 23.07.2018
    Number of posts: 67

    Score

    0

    Hello Duo,

    Yes this document already uploaded in the template web ui.

    But while trying to create the package it is giving me the above error I have sent you.

    Thanks
    Nehme

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 290

    Score

    0

    Hi Nehme,

    Can you test this document singly by creating a package from template with only this document? Do you inject extra label fields for this document?

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Participant
    nehme
    Senior Member
    Member since: 23.07.2018
    Number of posts: 67

    Score

    0

    Hello Duo,

    I did this also, still getting the below error:

    Silanis.ESL.SDK.EslServerException
    HResult=0x80131500
    Message=Could not create a new package one step. Exception: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI https://sandbox.esignlive.com/api/packages. Optional details: {“messageKey”:”error.internal.default”,”technical”:”[#7405d075-323e-4a4d-9535-c3cc72f2de1e]”,”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”}
    Source=Silanis.ESL
    StackTrace:
    at Silanis.ESL.SDK.Services.PackageService.CreatePackageOneStep(Package package, ICollection`1 documents)
    at Silanis.ESL.SDK.EslClient.CreatePackageOneStep(DocumentPackage package)
    at WebAPI.WebAPI.GeteSignLiveUrl(String ClientID, String ClientLang, Int32 SignersCnt) in F:\Projects\WebAPI\WebAPI.aspx.cs:line 11272

    Inner Exception 1:
    EslServerException: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI https://sandbox.esignlive.com/api/packages. Optional details: {“messageKey”:”error.internal.default”,”technical”:”[#7405d075-323e-4a4d-9535-c3cc72f2de1e]”,”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”}

    Inner Exception 2:
    WebException: The remote server returned an error: (500) Internal Server Error.

    Thanks,
    Nehme

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 290

    Score

    0

    Hi nehme,

    So if didn’t miss something, you can create a template with this document while you can’t create a package from template with this document included? Can you send your document to developer@esignlive.com so that I can have more test on that?

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist

You must be logged in to reply to this topic.