Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
jm-za
6 months agoExplorer | Level 3
Python SDK: DropboxTeam works in shell, but fails in Gunicorn service
Hello Dropbox Developer Community, We're developing a Django application and are running into a very specific environment issue with the Python SDK when trying to access Team folders after an OAuth2...
jm-za
6 months agoExplorer | Level 3
I’ve been coding this using Gemini 2.5 Pro. I don’t have any formal training in coding, so I’m dependent on the code I get from Gemini. Up until now, it’s been going really well—I’ve created several working projects like this. But in this case, something is off. Either Gemini has the wrong details, or it’s misinterpreting it, and it’s leading me down the wrong path.
The challenge now is that I’ve made so many changes that I’m not sure where I stand with this project anymore. I don’t know if you can guide me on how to go step-by-step through the process to test if OAuth2 is actually working correctly. And then, based on that, what should I be doing next?
I do have this project on Github and can go back to the version that was working with the normal token but will then have to go through the process again of implementing oath2 and the changes that goes with that.
Right now, I I’m going in circles, and I’m not sure how to get back on track.
Greg-DB
Dropbox Community Moderator
6 months agoThanks for the additional information. To be more specific, from your description here, you would need to change this line:
team_client = dropbox.team.DropboxTeam(credential.access_token)
by replacing "dropbox.team.DropboxTeam" with "dropbox.DropboxTeam". That would make the fixed line look like this:
team_client = dropbox.DropboxTeam(credential.access_token)About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!