Forum Discussion
Paul_Red1
Dec 16, 2020Copper Contributor
Cannot get conflict behaviour to work with upload to sharePoint
Hi. I am trying to get the various settings of fail/replace/rename to work, in both C# code and when this has failed in Postman. I am using it in an upload session. The URL is https://graph.microsoft...
davidbabayan
May 21, 2022Copper Contributor
Paul_Red1 as states the documentation at https://docs.microsoft.com/en-us/graph/api/resources/driveitem?view=graph-rest-1.0
Notes: The parameter @microsoft.graph.conflictBehavior should be included in the URL instead of the body of the request.
So try to include it in the URL not in the body.