You are currently reviewing an older revision of this page.

Corrupted files when using the HTTP File Upload Smart Service

Symptoms

When uploading a document to a web service using the HTTP File Upload Smart Service, the document is corrupt or disabled from being opened by reader applications.  Example corrupt document types are PDF or DOCX files. 

The following is an example of the error received when attempting to open the document with a reader application is below:

The following is an example of the extra headers included in a corrupted PNG document when viewing from a text editor:

--atqw2dsfasdfsdSpiy76wsdafdsaf8cxd
Content-Disposition: form-data; name="file"; filename="filename.png"
Content-Type: image/png
Content-Transfer-Encoding: binary

‰PNG
<File Contents>
‰PNG
--atqw2dsfasdfsdSpiy76wsdafdsaf8cxd

Cause

This issue has been reported to the Appian Product Team. The reference number for this issue is AN-100114.

Action

If the application experiencing this issue is SharePoint, a workaround is to use the Office 365 Integration Shared Component.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: March 2018