Huge API PDF Output

Symptoms

Sometimes when using a script that converts the document into a PDF binary and then converts it into a base64 string to be attached to a REST API Call, some random invoices can generate a huge base64 string (over 80 MB) for a document that is only 16kb at import.

Cause

The reason for this behavior may be the use in the parameter "options.Format = "pdf-a-s";"

Resolution

Can be resolved by changing the pdf format from pdf-a-s to pdf-s.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed