title: Android GoogleDrive insert.execute() raising IOException - how can I get more information on the error?
body: <p>I am trying to upload a file to my GoogleDrive , but I get an IOException raised , and I cannot find why ? what's wrong ? what should modify ?
  credentials,  filepath, filename , filetype ( text/csv) are correct... the parent_id folderID is fine...
  and obviously I tested before if connected to internet... but no way , I always get this IOException on line :  file = insert.execute()  (I executed a debugger run...)</p>
  
  <pre><code>      private File uploadFile(boolean useDirectUpload) throws IOException {
          java.io.File fileContent = new java.io.File(mFileUri.getPath());
  
          com.google.api.services.drive.model.File fileMetadata = new File();
          fileMetadata.setParents(Arrays.asList(new ParentReference().setId(mFolderId)));
          fileMetadata.setTitle(fileContent.getName());
          InputStreamContent mediaContent = new InputStreamContent("text/csv", new BufferedInputStream(new FileInputStream(fileContent)));
          mediaContent.setLength(fileContent.length());
  
          Drive.Files.Insert insert = mService.files().insert(fileMetadata, mediaContent);
          MediaHttpUploader uploader = insert.getMediaHttpUploader();
          uploader.setDirectUploadEnabled(useDirectUpload);
          uploader.setChunkSize(MediaHttpUploader.MINIMUM_CHUNK_SIZE);
          uploader.setProgressListener(new FileUploadProgressListener());
          File file = insert.execute();
          //return insert.execute();
          return file;
    }
  </code></pre>