Aug 10 2020 10:37 PM
Hi Experts,
SharePoint returning HTTP Status code 500 when posting files like png,pdf etc.
Response body from SharePoint
<?xml version="1.0" encoding="utf-8"?>
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-1, System.IO.IOException</m:code>
<m:message xml:lang="en-US">I/O error occurred.</m:message>
</m:error>
Could you please help me with this.
Please find the screenshot attached.
I am hitting sharepoint URL through SAP Cloud Platform Integration middleware.
I am able to read file from Sharepoint in binary format and constuct original file but when i try to post/upload file to Sharepoint i am getting below error.
Can you please help me if SharePoint expects any header other than Authorization while accepting binary files as i am able to post text files without any issue in code.