title: I'm getting a ClientRequestException when trying to get my libraries list (Sharepoint CSOM 2010)
body: <p>Hellu</p>
  
  <p>This exception appeared for no reason at all, just like that. 15 minutes earlier, I had no problems at all. Maybe someone at my office did something with our SharePoint Online, but it's seems unlikely as, as far as I know, I'm the only one working on it at the time.</p>
  
  <p>So I searched the web for a while, hearing about problems with claims based connection, and using SharePointOnlineCredentials... Yet I'm on a 2010 version, and I don't have access to this class.</p>
  
  <p>Here's the snippet I use to connect (with the "most popular" <a href="http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx" rel="nofollow">MsOnlineClaimsHelper</a>):</p>
  
  <pre><code>this.user = user;
  this.password = password;
  this.siteHttps = siteHttps;
  claimsHelper = new MsOnlineClaimsHelper(this.siteHttps, this.user, this.password);
  using (context = new ClientContext(this.siteHttps))
  {
      context.ExecutingWebRequest += claimsHelper.clientContext_ExecutingWebRequest;
  }
  </code></pre>
  
  <p>Any idea on how to solve this?</p>
  
  <p>For the note, the exception message ends with a "Microsoft.SharePoint.Client.<strong>ClientContext.EnsureFormDigest</strong>()" call.</p>