Forum Discussion

Jose Zaldivar's avatar
Jose Zaldivar
Copper Contributor
Apr 24, 2019
Solved

Why would OData return that a list does not exist?

Hi, I have a list in the Sharepoint root called Employee Directory1. I build the Odata query according to the documentation but got this message.  I am starting to think that I need to enable Odata R...
  • Jose Zaldivar's avatar
    Jose Zaldivar
    Apr 25, 2019

    Paul_Mather thanks. I later found out that the customer changed the list title. I had to go back Site Content and look at the original name by inspecting the URL link of the list. The function .getbytitle() requires the original name of the list and not what the customer decided to change it later. 

     

    But this OData query would have helped as well and I intend to use it next time.

     

    Thanks so much.

    {SharePoint site URL}/_api/web/lists?$Select=Title

     

Resources