cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft SharePoint Graph API - Upload File

prateekgrover
Level 3

Hi All,

We are currently facing an issue while trying to upload a document to a SharePoint site in client environment.

The “Upload File” action of the Microsoft Graph API seems to be throwing the following error during debugging:

35938.png


Please find below, the configuration details of the action as well the reference screenshot of the SharePoint site being used.

  1. Action Details.

35939.png


  1. SharePoint Site

35940.png


We have provided the 

The file used to upload is of size : 400 kb. If someone has faced this issue, please guide on what exactly is wrong and how to resolve.

1 REPLY 1

Are you using the latest version of the SharePoint Upload asset available on DX

https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint-upload-sessions

The parameter named File of Binary DataType is not present in the version that I see. Also you may want to double check the format of the FolderPath as per the user guide.

"Optional: The folder path, within the drive, where the file will be uploaded. Ex. 'root:/TestFolder'. Default path is 'root:'."