SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,611 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using SharePoint Online API to call the end point to move a file
method: POST
URL: https://<tenant>.sharepoint.com/sites/my_site/_api/web/getFileByServerRelativePath(decodedurl='<filepath>')/moveToUsingPath(decodedurl='<newfilepath>',moveOperations=64)
but I getting this error:
{
"error" : {
"code" : "-2147024809, System.ArgumentException",
"message" : {
"lang" : "en-US",
"value" : "flags\r\nParameter name: Specified value is not supported for the flags parameter."
}
}
}
Can you help me with this please? why I am getting this error? how can I fix?