Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SharePoint Error Code 36 Deleting Folder

I need my psychoanalyst.

When I try to Delete a document library Folder with a lot of files and subfolder (SharePoint is a CMS… The probability to have large folders is very high), I get an error:



Using Fiddler, I notice that the REST POST call 

/sites/xxx-xxx/_api/web/GetFolderById(@a1)/recycle?@a1=%280acb4bee%2Ddf35%2D3818%2Dbdfd%2D7f49fff38d5d%27 HTTP/1.1

Fails with 

500 Internal Server Error
a1
{"error":{"code":"-2130247161, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"Cannot remove file \"mylargefolder\". Error Code: 36."}}}
0

Then… This error is not very useful.
Only for test purpose, I tried to delete the entire document library which hosts my large folder and, in this case, the error is 

/sites/xxx-xxx/_api/web/lists(@appId)/recycle?@appId=%3871234fff%2D8c58%2D5784%2Dbcd3%2Dff1d879f2cac%27 HTTP/1.1

500 Internal Server Error
e5
{"error":{"code":"-2147024860, Microsoft.SharePoint.SPQueryThrottledException","message":{"lang":"en-US","value":"The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator."}}}
0

Ou belin, list view threshold … 
Then, this is only a supposition:
I can delete a SharePoint object which exceeds the list view threshold.

What’s the right way?
Should I delete each folder one at a time since?

Have a nice day!



This post first appeared on ZSvipullo, please read the originial post: here

Share the post

SharePoint Error Code 36 Deleting Folder

×

Subscribe to Zsvipullo

Get updates delivered right to your inbox!

Thank you for your subscription

×