Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Hello, what is the maximum number of characters allowed in the package name?  The JavaDoc for the method PackageBuilder.newPackageNamed() states:

Replies Created

Reply to:

0 votes

Thanks Duo.  I confirmed I was able to create a package with a name 255 characters long.  However, when I tried 256 characters, the call to EslClient.createPackage() throws the following exception:

Could not create a new package Exception: HTTP POST on URI https://sandbox.e-signlive.com/api/packages resulted in response with status code: [500, Internal Server Error]. Optional details: {"messageKey":"error.internal.default","technical":"org.hibernate.exception.DataException: could not execute statement","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"} 

So that is good to know.  I don't have any need to create a long name transaction in the UI, but I like your idea of having the SDK JavaDoc updated, since it would probably help other developers.

Thanks for your help!


Subscriptions

Topics Replies Freshness Views Users

Hello, what is the maximum number of characters allowed in the package name?  The JavaDoc for the method PackageBuilder.newPackageNamed() states:

3 2 years 6 months ago 554
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.