Curious about A, B, C, and D drives? Learn what they mean and how to use them effectively with Dropbox in this handy guide! - check it out now!

Forum Discussion

af11's avatar
af11
Explorer | Level 4
4 years ago
Solved

dropbox.exceptions.BadInputError

I am trying to connect an app to my company dropbox account. Here is the code:   from hashlib import sha256 import hmac import json import os import threading import urllib.parse from dotenv i...
  • Greg-DB's avatar
    Greg-DB
    4 years ago

    The DropboxTeam.as_admin method returns a Dropbox object; it doesn't modify the existing DropboxTeam object (dbx in your latest snippet here). So, the code in your latest snippet won't allow you to call files_list_folder on that 'dbx' object. You should save the returned Dropbox object and use that instead.