title: Using search bar in Google Drive Picker shows no results and throws internal error in network response
body: <p>I have the Google Picker API implemented in an application, with the Google Drive view included. Currently, entering a search query in the search bar of the Google Drive view starts showing a drop-down with some file results included, like this:</p>
  
  <p><a href="https://i.imgur.com/kIyq0TQ.png" rel="nofollow noreferrer">search bar drop down</a></p>
  
  <p>However, clicking the "magnifying glass" search button, or pressing enter, or clicking "search for all items containing...", all results in an empty picker, like this:</p>
  
  <p><a href="https://i.imgur.com/bDrmXFT.png" rel="nofollow noreferrer">empty picker with no search results</a></p>
  
  <p>I believe this is occurring because a call to <code>https://docs.google.com/picker/pvr</code> is returning this error as a response every time: <code>&amp;&amp;&amp;START&amp;&amp;&amp;{"error":true,"errorMessage":"Internal error"}</code>.</p>
  
  <p>The parameters being sent to that /pvr endpoint are here:</p>
  
  <pre><code>start: 0
  numResults: 50
  sort: 3
  desc: true
  q: testing
  cursor: 
  mine: 2
  service: docs
  type: NOT_COLLECTION
  options: {"ff":true,"filterTeamDriveResults":true}
  token: J********
  version: 4
  app: 2
  clientUser: 1************
  developerKey: A*************
  subapp: 5
  </code></pre>
  
  <p>What I found is that manually removing the <code>"filterTeamDriveResults":true</code> key from the "options" hash and doing an ajax post directly resulted in a successful request, but for whatever reason that option is included with every request from the picker, and any time a request is made with that option included, it seems to fail with the same "Internal error" response. I'm wondering what the source of that option is, and if there's any way to remove it from our picker. As far as I can tell it doesn't seem to be controlled by any of the options in the JavaScript API that we're loading from <a href="https://apis.google.com/js/api.js?onload=onApiLoad" rel="nofollow noreferrer">https://apis.google.com/js/api.js?onload=onApiLoad</a>.</p>