Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
cankayaalperen
2 years agoExplorer | Level 4
The API key I created yesterday has expired today
Hello everyone. Yesterday I created an API key to use in my Python bot. I also made this bot run every day with Cron Job, but when I looked at the logs today, I saw that the API key has expired. I w...
- 2 years ago
cankayaalperen An 'expired_access_token' error indicates that the call failed because it was made with a short-lived access token that has expired. In addition to the post that Здравко linked to, you can find more information on how this works in the following resources:
- https://developers.dropbox.com/oauth-guide
- https://www.dropbox.com/developers/documentation/http/documentation#authorization
- https://dropbox.tech/developers/using-oauth-2-0-with-offline-access
As for your uploads going to the folder with your name, it sounds like you're referring to your member folder. By default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found, and uploads will go to your member folder.
You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space, if needed/desired. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in the Team Files Guide.
Здравко
2 years agoLegendary | Level 20
Hi cankayaalperen,
Take a look here. I hope you can understand why your token expires and how to fix it. 😉
Good luck.
- cankayaalperen2 years agoExplorer | Level 4
Thank you!
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!