We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

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

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
    3 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.