CreateUploadSession with creating a new file keep getting 404

Tom Wederich 0 Reputation points

I'm currently trying to upload big file so first I want to create an upload session, using this POST request:


But by doing so I keep getting a 404 Not found. If I replace the url and add an itemId instead of the root:/{filename} for an already existing file it work fine and I get the correct response. Also when I upload a small file using /content instead of the /createUploadSession I have no issue. Do you have an idea why I keep getting 404 with the createUploadSession ? Thanks in advance,

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,936 questions
0 comments No comments
{count} votes