Forum Discussion

A G's avatar
A G
Copper Contributor
Apr 10, 2018

Did not find the required 'results' property on the object wrapping a feed

Hi

I'm trying to update a property using the example here:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-client-library-code)

ClientContext ctx = new ClientContext(site_uri+id);
Web web = ctx.web;
web.title = “new title”;
web.Update();
ctx.ExecuteQuery();

 

 

However I'm getting the following error:

Did not find the required 'results' property on the object wrapping a feed.

Does this indicate something wrong with what I'm sending to the server, or something wrong on the sharepoint server?

 

Thanks

2 Replies

  • How does your full code look like?

    Did you remember to include this?

    using Microsoft.SharePoint.Client;

    Kind regards, John

    • A G's avatar
      A G
      Copper Contributor

      Yes I have included that as well.

      I can add and create list items, but I cannot seem to update the site title. Is the title a special attribute?