title: Evernote Cloud API and C# Console App Error: Unhandled Exception: Thrift.Transport.TTransportException:
body: <p>Receiving and error when attempting to get a list of all notebooks in the user's account, with <a href="https://github.com/evernote/evernote-cloud-sdk-windows/blob/master/Getting_Started.md" rel="nofollow">Evernote Cloud API</a>. Attempting to have my console application access the Evernote API and simply return the notebooks associated with a user's account. </p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Unhandled Exception: Thrift.Transport.TTransportException: Cannot read, Remote side has closed
  at Thrift.Transport.TTransport.ReadAll(Byte[] buf, Int32 off, Int32 len)
  at Thrift.Protocol.TBinaryProtocol.ReadStringBody(Int32 size)
  at Thrift.Protocol.TBinaryProtocol.ReadMessageBegin()
  at Evernote.EDAM.NoteStore.NoteStore.Client.recv_listNotebooks()
  at EvernoteSDK.Advanced.ENNoteStoreClient.ListNotebooks()
  at EvernoteSDK.ENSession.ListNotebooks_ListNotebooks(ENSessionListNotebooksContext context)
  at EvernoteSDK.ENSession.ListNotebooks()
  at Evernote_Console.Program.Main(String[] args
  </code></pre>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>     using EvernoteSDK;
  
       static void Main(string[] args)
      {
  
          ENSession.SetSharedSessionDeveloperToken("SESSION_DEVELOPER_TOKEN", "SESSION_NOTE_STORE_URL");
  
  
          if (ENSession.SharedSession.IsAuthenticated == false)
          {
              Console.WriteLine("FAIL");
              ENSession.SharedSession.AuthenticateToEvernote();
          }
          Console.WriteLine("SUCCESS");
  
           List&lt;ENNotebook&gt; myNotebookList = ENSession.SharedSession.ListNotebooks();
  
  
  
      }
  </code></pre>
  
  <p>The <code>ENSession.SharedSession.ListNotebooks();</code> is what is causing the error within my console application. I am simply trying to return all the notes associated with a users account and <code>Console.WriteLine();</code> them out. If anyone could provide me with direction as to what this error means or how to solve it that would be wonderful, thank you.</p>