Create package from base64 encoded file content
Sunday, May 14, 2023 at 02:20amI tried creating package using json body and sending file content as base64 encoded string but I get this error {"messageKey":"error.validation.sendPackage.noApprovals","message":"Cannot send package without approvals.","code":400,"name":"Validation Error"}.
I then tried sending file content as plain string and that worked. Is there a way I can send base64 encoded file content? Any help would be appreciated. Thank you.
Reply to: Create package from base64 encoded file content
Monday, May 15, 2023 at 07:21amHi Apoorva_M,
Thanks for your post! Unfortunately, OneSpan Sign doesn't support sending base64 encoded file content, you will have to first convert the base64 string to its binary format. And as you experienced, OneSpan Sign document engine also accepts simple text files (e.g. txt files) if you send plain text as form data value.
Duo