Monday, January 25, 2016

google drive 400 bad request Reason bad request.

If you are getting this error, and you can't figure out why, and the error message from google doesn't help at all (not very uncommon) the most likely cause is
  1. You are trying to copy folders ( mimetype application/vnd.google-apps.folder )
  2. The filename contains an character that you have to escape, f.x. \ should be \\
  3. And it doesn't seem to like the character ' in File.Name