title: How to list all files and folders in my dropbox using v2 api
body: <p>I am using Python SDK and would like to retrieve all of my dropbox files and folders.</p>
  
  <p>I am using v2 of Python SDK of Dropbox.</p>
  
  <pre><code>dbx = Dropbox("DROBOX_ACCESS_TOKEN")
  response = dbx.files_list_folder("/Apps/Marketing")
  for file in response.entries:
      print file.name
  </code></pre>
  
  <p>However, I get an error:</p>
  
  <pre><code>dropbox.exceptions.ApiError: ApiError('b0479a07aaa5a9b405862ae75cbf135d', ListFolderError(u'path', LookupError(u'not_found', None)))
  </code></pre>
  
  <p>While Apps folder exists in Dropbox when I login (prob in root folder)</p>
  
  <p>When I try to list with empty path in order to get root folder folders:</p>
  
  <pre><code>response = dbx.files_list_folder("")
  </code></pre>
  
  <p>the response entries are empty.</p>
  
  <p>How can I retrieve the list of all files and folders in dropbox v2 api?</p>
  
  <p>The token is the one I generated in OAuth 2 settings in dropbox.</p>
  
  <p>and I gave the token App folder access to a folder under Apps called Marketing. </p>