title: No results querying lists sharepoint rest api
body: <p>When querying list through the sharepont rest api with a certain site I seem to be getting no results with a successful response back though the same query with another sharepoint site seems to return results back fine.</p>
  <p>For the oauth I'm setting AllSites.Manage and multi-tenant in Azure Portal. Are there any site specific permissions that I need to enable that may be preventing any results from being returned.</p>
  <pre><code>import requests
  
  url = &quot;https://blah.sharepoint.com/subsite/_api/Web/Lists/GetByTitle%28%27Documents%27%29/Items&quot;
  
  querystring = {&quot;$top&quot;:&quot;100&quot;}
  
  headers = {
      'Authorization': &quot;Bearer blahToken&quot;    }
  
  response = requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)
  
  print(response.text)
  </code></pre>
  <p>I should be getting back the all the documents in this list but instead I get a successful XML response but with no content.</p>