Home > Forum > Tips&Tricks > Upload to Sharepoint Graph

Upload to Sharepoint Graph
0

Hello,

I have an application that creates a folder within a document library on SharePoint and needs to upload files to the newly created folder.
I am encountering difficulties in uploading the file to SharePoint using the REST action with the Graph API.

I get this error:

"Invoke REST Web service test (2) - Request Url:
https://login.microsoftonline.com/f656719a-4d1c-482b-be59-564f8c2af72d/oauth2/v2.0/token
Response Code:
Exceptions:
Cannot add value because header 'Authorization' does not support multiple values. "

I have tested everything in Postman and it is fine, but in Webcon i don't know what is wrong.

My configuration attached (i have tried multiple ways - binary, multipart).

Can you help, please? Thank you.