title: GDrive gives 500 Error on Upload, Doesn't return object
body: <p>I have a google upload manager that works fine most of the time, but when uploading a lot of files, it cuts out part way and returns a 500 Internal Server error (always on the same file).</p>
  
  <pre><code>media_body = MediaFileUpload(filepath, mimetype=mimeType_in, resumable=True)
  
  if create == True:   # CREATE 
      result = self.service.files().create(
                                              body=meta,
                                              media_body=media_body).execute()
  else:   # REPLACE
      result = self.service.files().update(
                                          body=meta,
                                          media_body=media_body,
                                          fileId=fileID).execute()
  </code></pre>
  
  <p>The issue is that when this error occurs, it is an exception that gets thrown, not anything that gets stored in result (in fact, result won't exist). Thus, I can't get any information on it. I think it might have to do with a file being too big or something, but I can't resume because I have no info. Thoughts?</p>