http://<rootSiteURl>/_vti_bin/listdata.svc/Request Error:The server encountered an error processing the request. See server logs for more details.

Anup Roy 0 Reputation points
2024-03-12T06:30:39.8633333+00:00

Hello All,

We have SP2013 Single Server Farm Env

We are trying to perform OData query

For ROOT site it throws below Error:

http://<rootSiteURl>/_vti_bin/listdata.svc/

**Request Error:**The server encountered an error processing the request. See server logs for more details.

SUB-SITE

I am quite surprise and not able to understand why the above following OData is working for sub-site level:

http://<rootSiteURl>/IT/_vti_bin/listdata.svc/

Response:

<service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app" xml:base="http://mypage/IT/_vti_bin/listdata.svc/">

<workspace>

We did tried every google steps and the behavior is same.

Can someone please suggest us some help.

Thanks

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,287 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,159 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,594 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 43,661 Reputation points Microsoft Vendor
    2024-03-12T09:50:42.36+00:00

    Per my knowledge, in the SharePoint 2010 is /_vti_bin/ListData.svcIn, but in the SharePoint 2013 is replaced from /_vti_bin/Client.svc by /_api/.

    So, I suggest you use new REST API in the SharePoint 2013.

    https://video2.skills-academy.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom

    https://www.codesharepoint.com/rest-api/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.