title: Trouble running a google drive upload automatic script on a debian server
body: <p>I have a script which automates uploading files to drive(I'm using pydrive), it authenticates using a service account and it works properly on my Windows when I execute it, but when I execute it on the debian server it shows me the following message:</p>
  <blockquote>
  <p>Your client does not have permission to get URL <code>/drive/v2/files</code> from this server. That’s all we know.</p>
  </blockquote>
  <p>I don't really understand what's the difference between running the script on my laptop vs server</p>
  <pre><code>scope = [&quot;https://www.googleapis.com/auth/drive&quot;]
  gauth = GoogleAuth()
  gauth.auth_method = 'service'
  gauth.credentials = 
  ServiceAccountCredentials.from_json_keyfile_name('client_secrets.json', 
  scope)
  drive = GoogleDrive(gauth)
  fileList = drive.ListFile({'q': &quot;'xxxxxxxxxxxx' in 
  parents and trashed=false&quot;}).GetList()
  </code></pre>
  <p>It fails when it try to list the files because it can't authenticate, but I'm using the same way to authenticate as in my laptop, which is with a service account client_secrets.json</p>