SharePoint – Get list items using JavaScript

Many times I've used the examples in this article to get lists items from SharePoint using JavaScript. The examples in this article are however incorrect and the collection of list Items isn't available within the onQuerySucceeded function. The corrected example code is shown below:

Advertisements

SharePoint 2013 – Rest API – Application error when access /_vti_bin/client.svc Error=Memory gates checking failed because the free memory is less than 5% of total memory.

Today I tried to access a list through the REST API. The url that I used is: http://intranet.mycomp.co.uk/pa/legal/test_3/_api/Web/Lists/GetByTitle('Documents') When opening the above URL in my browser I got a HTTP 500 error. The ULS logs showed the following error: Application error when access /_vti_bin/client.svc, Error=Memory gates checking failed because the free memory (207630336 bytes) is … Continue reading SharePoint 2013 – Rest API – Application error when access /_vti_bin/client.svc Error=Memory gates checking failed because the free memory is less than 5% of total memory.