Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

DocLibClient error on call of delete with Library parameter HTTP Error 500 -- Microsoft.SharePoint.SPQueryThrottledException #20

Open
adelinor opened this issue May 25, 2017 · 4 comments

Comments

@adelinor
Copy link

adelinor commented May 25, 2017

Past the issue #17, delete a folder or file with the method:

ListenableFuture<Void> handle = this.client.delete(path, library);

fails with the error:

Caused by: java.lang.Exception: Invalid status code 500: {"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."}}}

	at com.microsoft.services.sharepoint.OfficeClient$2.onSuccess(OfficeClient.java:195)
	at com.microsoft.services.sharepoint.OfficeClient$2.onSuccess(OfficeClient.java:181)

Using the endpoint suggested in the SharePoint REST reference document works well, so why is this is not implemented in this library?

@hariso
Copy link

hariso commented May 25, 2017

Just so that you don't waste your time here: #1

@adelinor
Copy link
Author

#1 does not answer anything sadly.

@hariso
Copy link

hariso commented May 26, 2017

You can consider this project abandoned.: ) I too wanted to use it, but after I read through comments on #1, and saw the (in)activity on all the other tickets, I just left this.

@adelinor
Copy link
Author

adelinor commented Jul 6, 2017

This project is a good starting point to use the SharePoint online API from a Java implementation so I will keep raising issues a I find them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants