We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
eminem18753
3 years agoExplorer | Level 4
get_current_account and get_space_usage api returns inconsistent tag
get_current_account api returns tag as "user", and get_space_usage api returns "team", which is inconsistent
get_current_account
{
......
"root_info": {
".tag": "user",
...
eminem18753
3 years agoExplorer | Level 4
Hi, but why if I upload some stuff to dropbox, only the "used" changed, but the "allocation:used" doesn't change. If it's a member of team, when it uploads, the team used should change. Moreover, If the user belongs to a team, the "allocation:used" should be greater than "used". We also wonder that why "allocation:used" doesn't update in real time when we upload multiple files, only "used" updates.
{
"used": 2702286001658, // changed
"allocation": {
".tag": "team",
"used": 2525035157914, // not changed
"allocated": 91259465105408,
"user_within_team_space_allocated": 0,
"user_within_team_space_limit_type": {
".tag": "off"
},
"user_within_team_space_used_cached": 2621858815064
}
}
Здравко
3 years agoLegendary | Level 20
eminem18753 wrote:Hi, but why if I upload some stuff to dropbox, only the "used" changed, but the "allocation:used" doesn't change. ...
eminem18753, Where did you upload your stuff? 🤔 In some team folder or into some your private folder (including your home folder)?
eminem18753 wrote:... Moreover, If the user belongs to a team, the "allocation:used" should be greater than "used". ...
Maybe yes, maybe no. If something contains another thing, the first one size is bigger than the contained data size. In your case what is the container and what does this container contain? 🧐 Are your private data a part of some shared team data space or something like? 😉
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!