Very new to SharePoint so I am sure this is a newbie question... I did look at the forums. Here is the command I am using:


But I get this error:

xml:lang="en-US">Cannot find resource for the request versions.

I have also tried this:


Which worked, but this just produces the page as if working on the site interface.. Not something that is easily harvester-able.

How can I get a item history in a format that a script can easily parse?


What you're using works for me, but I'm in SharePoint online and you didn't mention a what version of SharePoint you're using. If I do:

    url: _spPageContextInfo.webAbsoluteUrl + 
    async: false,
    headers: {
        'accept': 'application/json;odata=nometadata'
    complete: function(request) {
        console.log("CurrentUser: " + JSON.stringify(request, null, 4));
    error: function(request) {
        console.log(JSON.stringify(request, null, 4));

The response JSON I get back looks like:

    "value": [
            "Title":"Web Developer",
            "Title":"Application Developer",

So no parsing necessary. Are you sure you have version history turned on for the list (List Settings->Version History, or Library Settings if it's a document library)?


Try using SPServices:

  operation: "GetVersionCollection",
  async: false,
  strlistID: "Projects",
  strlistItemID: 1,
  strFieldName: "Description",
  completefunc: function (xData, Status) {
    $(xData.responseText).find("Version").each(function(i) {
      console.log("Name: " + $(this).attr("Description") + " Modified: " + $(this).attr("Modified"));


  1. SharePoint 2013 - Get SPListItem versions via REST.
  2. Any Rest API available for Version history of List item fileds?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.