title: Can't upload to google docs from php 400 error!
body: <p>Hi guys I'm trying to upload to google docs on a google apps account using the following code - I'm using zend framework:</p>
  
  <pre><code>function getGoogleClient($s = '')
  {
    $service = Zend_Gdata_Docs::AUTH_SERVICE_NAME; 
  
    $user = 'aaaaa';
    $pass = 'aaaaa';
  
    $httpClient = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);
  
    return $httpClient;
  }
  
  function uploadDocument($docs, $html, $originalFileName, $temporaryFileLocation) {
      $fileToUpload = $originalFileName;
      if ($temporaryFileLocation) {
          $fileToUpload = $temporaryFileLocation;
      }
  
      $newDocumentEntry = $docs-&gt;uploadFile($fileToUpload, $originalFileName, null, Zend_Gdata_Docs::DOCUMENTS_LIST_FEED_URI);
  
  }
  
  
  
  $client = getGoogleClient();
  $docs = new Zend_Gdata_Docs($client);
  $ls = uploadDocument($docs, true, $file-&gt;filename, $file-&gt;tmp_name);
  </code></pre>
  
  <p>BUt I keep getting this error - whats wrong here :(</p>
  
  <pre><code>Expected response code 200, got 400 Inconsistent repeating query parameter 
  </code></pre>