I'm using PUT method to upload a .pptx file. The link will be something like 'https://graph.microsoft.com/v1.0/sites/{siteid}/drives/{driveid}/root:/test:/{1}:/content' The parameter {1} is the file name. Additionally, I've configured 2 HTTP Headers. 1. Authorization: 'Bearer {Access Token}' 2. Content-Type: 'application/octet-stream' I've inserted the binary variable in the request body too. Why it is still return bad request 400?
asked
Khai Gene Quah
1 answers
1
Hi,
You can enable the log Level of the Rest Consume to Trace and see more detailed error.
Before changing the log level, can you verify if the same is working in Postman?