Hi, we have a functionality to upload a file and save it in a folder in SharePoint. The connected system we are using is through the HTTP integrated Microsoft Graph Connected System. It works fine for a file size up to 100MB but post that we are facing Integration Error as [title=There was a problem with the request, message=Failed to connect to https://graph.microsoft.com/v1.0/drives/b!m6Ln0pXy60eQAb14pUvBiE4NVb13D6JDnJVPxlNZJEQw55MIsIdnQa8ktIM9MLWk/items/01HO3UJFSOHDXPAJQEDRA2S5JCHFKWTKGT:/MS_dummy_file_250MB20242245_024518.bin:/content, detail=HTTP/1.1 499 ]. Please can one suggest how to resolve this issue so that files with larger size can be uploaded using same connected system.
Discussion posts and replies are publicly visible
What is the file size that you are trying to upload?I guess more than 150MB needs some different logic And in the error it says that 499 so mostly your connection is not being stable to complete the action. More information is needed.
sowmya v said:HTTP/1.1 499
Hi Chaithanya, I am trying to upload a file of size 250MB. okay if the connection is not stable, I wonder why the issue is happening only for file size > 100MB.
Yeah sowmya v I understand, it was just my assumption. May be the following community blog post will show some insights.Uploading Large Files using Microsoft Graph API
Uploading large files becomes tricky with Appian. The API expects you to send files in multiple binary chunks, which Appian does not support OOTB.
We have the same problems, we need to upload large files and to do so we have to cut the file into pieces to send it to the msgraph API. I have not found a way to divide the file in appian, so we have decided to do it with a middleware made in java that acts as an intermediary between appian and sharepoint, and is the one who divides the file to send it to msgraph. API. If you can think of a way to do it in appian, please comment.