Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Rest Query-The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.

$
0
0

Hi,

I am using rest query with some filter and want to check if there is any data on the list for respective filter OrigDocID but its giving me below error. when I increased the threshold limit more then list item in the list , this solution working but I dont want to increase this.

Site_url/_api/web/lists/getbytitle('listname')/items?top=1&$filter=OrigDocID%20eq%20%27EAC033A1133624FA862577910025A293%27&$select=OrigDocID

Error

<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>
-2147024860, Microsoft.SharePoint.SPQueryThrottledException
</m:code>
<m:message xml:lang="en-US">
The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.
</m:message>
</m:error>


MS_21212



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>