What is the max number of documents allowed in a Package
Tuesday, March 2, 2021 at 03:51pmWe are an on prem installation running version 7.2. We have integrated with OneSpan using the .Net SDK. My question is there a maximum number of documents that we can upload/include in a single signing package? Are there limits on the total size of these files or is there an individual file size limit? We want to add these types of validations in our user interface but we need to know what these limitations are.
Thanks
Tricia
Reply to: What is the max number of documents allowed in a Package
Tuesday, March 2, 2021 at 05:25pmHi Tricia,
Thanks for the post! This is the only documentation I found where we mentioned about the document size. However, below are based on my previous experience and suggestions if they are not officially documented. Also, I would suggest to raise a support ticket if you required more detailed information.
# For the maximum number of documents that can upload/include in a single signing package
Our documentation mentioned "OneSpan will not provide Technical Support for a transaction or transaction template that has more than 10 documents." I believe you can still create a transaction/template for more than 10 docs, but I would consider maximum of 10 documents as a suggestion for better performance.
# For the individual file size limit
For SaaS environment, the maximum size of a single document is 16 MB. Smaller documents yield better performance - we recommend under 5 MB per document. And it was once increased from 10 MB in a previous version (not sure if it's before or after version 7.2).
# For the limits on the total size of these files
Normally the load balancer has a request size limitation (In SaaS, this limitation seems to be 25 MB). And it could vary depending on the setup in your specific environment.
So if you are creating a transaction in one shot, then the request body length should be smaller than this number, while if you upload documents separately, the total size of documents could exceed the limitation.
# For the page limitation per each document
It was once documented that the maximum pages per document is 150 pages.
Duo
Reply to: What is the max number of documents allowed in a Package
Tuesday, March 9, 2021 at 07:55amI just wanted to post the response I got from Support in case anyone else needs the answer to this question. Here was there response.
"There is no limit for number of documents. The limit lies with the size and complexity of the document as they will be rendered by the document engine. Higher size and complexity will cause the system to render it more slowly up to a point it may reach the timeout of the DE.
In terms of file size limit, I believe it is 16mb. It is a hard coded limit. We usually advise customers to try limiting document size to 5mb in practice so that the overall system performance is optimized.
The request size limit depends on the application server configuration and load balancer. For the application server, the esep.xml file for Wildfly systems would be defined in the following:
<http-listener name="default" socket-binding="http"max-post-size=" "/> <https-listener name="https" socket-binding="https" security-realm="WebSocketRealm"max-post-size=" "/>
This can be set to 25MB (26214400). The request size involves all the documents in the transaction including the signature fields and other elements (text fields, text areas, captured signature, etc.)."