I have a List named 'KKR Jobs #'. And I am try to Get that list in my Sharepoint Hosted App Using Rest Service Call Like

var lName = 'KKR Jobs #';
            "/_api/web/lists/getbytitle('" + encodeURIComponent(lName) + "')/fields/getbytitle('Job Status')?$select=Choices",
        method: "GET",
        headers: { "Accept": "application/json; odata=verbose" },
        success: successHandlerStatus,
        error: errorHandler
  • Its Fetching all Lists Except this List named 'KKR Jobs #' in my Site Collection.
  • It Gives Error like Page Not Found in Browser Check like http://*****:11508/_api/web/lists/getbytitle('KKR Jobs #').

  • Any Issue in naming of List which contains # symbol.

i Appreciate any suggestions and Answers..!!!!!!

  • try var lname='KKR%20Jobs%20%23' – Ankit Kumar May 9 '16 at 11:36
  • and why you have a space after lName in encodeURIComponent?? Check that – Ankit Kumar May 9 '16 at 11:38

Try getting the items with guid of the list instead of title

e.g http://****/_api/web/Lists(guid'<your list id>')/items

| improve this answer | |

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