<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropbox Space Usage Differences in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/298962#M18155</link>
    <description>&lt;P&gt;Thanks for the post! I'll look into this and follow up here once I have some information for you.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Sep 2018 23:51:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-24T23:51:51Z</dc:date>
    <item>
      <title>Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/298618#M18137</link>
      <description>&lt;P&gt;Hello Greg,&lt;/P&gt;
&lt;P&gt;We have few Dropbox for Biz accounts whose Usage Size is shown in Admin Console screen.&lt;BR /&gt;I used Dropbox API - GetSpaceUsageAsync of Dot Net SDK to obtain Space Usage programatically (using following API).&lt;/P&gt;
&lt;P&gt;DropboxClient clientadmin2 = teamclient.AsMember(ti.Profile.TeamMemberId);&lt;BR /&gt;Dropbox.Api.Users.SpaceUsage spaceusage = await clientadmin2.Users.GetSpaceUsageAsync();&lt;/P&gt;
&lt;P&gt;Dave Minns - Admin&lt;BR /&gt;dminns@xyz.com&lt;BR /&gt;Admin Console : 11.19 MB&lt;BR /&gt;API Calculated : 21.91 MB (22977638 bytes)&lt;/P&gt;
&lt;P&gt;Adam Stuflick&lt;BR /&gt;adam@xyz.com&lt;BR /&gt;Admin Console : 48.93 MB&lt;BR /&gt;API Calculated: 50.76 MB (53226491 bytes)&lt;/P&gt;
&lt;P&gt;DEMO Dropbox-Account&lt;BR /&gt;dsclient@xyz.net&lt;BR /&gt;Admin Console : 9.11 MB&lt;BR /&gt;API Calculated: 9.13 MB (9573449 bytes)&lt;/P&gt;
&lt;P&gt;Gagan Bhatnagar&lt;BR /&gt;gagan@xyz.com &lt;BR /&gt;Admin Console : 12.86 MB&lt;BR /&gt;API Calculated : 14.71 MB (15421481 bytes)&lt;/P&gt;
&lt;P&gt;The Space Usage of most of the Dropbox for Biz accounts obatined via API and on Admin Console screen differs.&lt;BR /&gt;For some of the accounts like Dave Minns - Admin, the Space Usage on Admin Console is 11.19 MB whereas API Calculated is 21.91 MB.&lt;/P&gt;
&lt;P&gt;Can you help me understand why are we seeing such a difference and what can I do to obtain the correct values using API as shown in Admin console screen.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/298618#M18137</guid>
      <dc:creator>gagsbh80</dc:creator>
      <dc:date>2019-05-29T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/298962#M18155</link>
      <description>&lt;P&gt;Thanks for the post! I'll look into this and follow up here once I have some information for you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 23:51:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/298962#M18155</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-24T23:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299103#M18165</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/770400"&gt;@gagsbh80&lt;/a&gt;&amp;nbsp;Can you clarify which value you're looking at from the API? Please share the rest of the code you're using to process the result from&amp;nbsp;GetSpaceUsageAsync if possible.&lt;/P&gt;
&lt;P&gt;Note that there are multiple 'used' values returned in a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Users_SpaceUsage.htm" target="_blank"&gt;SpaceUsage&lt;/A&gt;, e.g.:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Users_SpaceUsage_Used.htm" target="_self"&gt;SpaceUsage.Used&lt;/A&gt;: the user's usage&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Users_TeamSpaceAllocation_Used.htm" target="_blank"&gt;TeamSpaceAllocation.Used&lt;/A&gt;: the team's usage&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:10:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299103#M18165</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-25T14:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299272#M18180</link>
      <description>&lt;P&gt;Hello Greg,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I am using the following API - &lt;STRONG&gt;SpaceUsage.Used &lt;/STRONG&gt;and&amp;nbsp;the following piece of code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;MembersListResult members = await teamclient.Team.MembersListAsync(margs);&lt;BR /&gt;&lt;BR /&gt;foreach (Dropbox.Api.Team.TeamMemberInfo ti in members.Members)&lt;BR /&gt;{&lt;BR /&gt;DropboxClient clientadmin2 = teamclient.AsMember(ti.Profile.TeamMemberId);&lt;BR /&gt;Dropbox.Api.Users.SpaceUsage spaceusage = await clientadmin2.Users.GetSpaceUsageAsync();&lt;BR /&gt;mbr.Usage = Math.Round(((double)&lt;STRONG&gt;spaceusage.Used&lt;/STRONG&gt; / 1024 / 1024), 2).ToString() + " MB";&lt;BR /&gt;....&lt;BR /&gt;....&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I tried TeamSpaceAllocation.Used after your reply. Please see code below:&lt;/P&gt;&lt;P&gt;Dropbox.Api.Users.SpaceAllocation.Team sp1 = spaceusage.Allocation.AsTeam;&lt;BR /&gt;Dropbox.Api.Users.TeamSpaceAllocation sp2 = sp1.Value; //returns 734686370&lt;BR /&gt;decimal spaceused = ((decimal)sp2.Used/ 1024 / 1024); //returns 700.65&lt;BR /&gt;spaceused = Math.Round(spaceused, 2);&lt;/P&gt;&lt;P&gt;However, TeamSpaceAllocation.Used returns 734686370 bytes or 700.65 MB for every member in the for loop. This figure seems to be the total usage size of the team.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 06:11:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299272#M18180</guid>
      <dc:creator>gagsbh80</dc:creator>
      <dc:date>2018-09-26T06:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299429#M18193</link>
      <description>&lt;P&gt;Thanks! I don't see an issue in that code, so please open a ticket and share the relevant account IDs so we can check on these:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/contact" target="_blank"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 20:48:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/299429#M18193</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-26T20:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/302108#M18272</link>
      <description>&lt;P&gt;Hey Greg,&lt;/P&gt;&lt;P&gt;I had written to&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/contact" target="_blank" rel="noopener noreferrer"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; 2 weeks back with the e-mail ids but did not hear back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gagan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:49:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/302108#M18272</guid>
      <dc:creator>gagsbh80</dc:creator>
      <dc:date>2018-10-09T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/302127#M18274</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/770400"&gt;@gagsbh80&lt;/a&gt;&amp;nbsp;Thanks for following up. I did reply to your ticket later that day, but it sounds like that response didn't make it to you unfortunately. (Perhaps it went to your spam folder?)&lt;/P&gt;&lt;P&gt;In any case, I can confirm that the web site and API are calculating these values differently (mainly due to differences in how we're counting space from shared folders). I'll let you know when I have an update on that.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 14:29:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/302127#M18274</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-09T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/358477#M20430</link>
      <description>&lt;P&gt;We've &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#users-get_space_usage" target="_self"&gt;added a new field to&amp;nbsp;TeamSpaceAllocation&lt;/A&gt; named 'user_within_team_space_used_cached' that should match the value reported on the&amp;nbsp;Dropbox web site.&lt;/P&gt;
&lt;P&gt;This is currently available in the API, and should be available in the next release of each of the official SDKs.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 11:31:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/358477#M20430</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-02T11:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Space Usage Differences</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/378285#M21200</link>
      <description>&lt;P&gt;Thanks Greg,&lt;/P&gt;&lt;P&gt;This new fields helped us get the correct value.&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:00:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Space-Usage-Differences/m-p/378285#M21200</guid>
      <dc:creator>Gags</dc:creator>
      <dc:date>2019-11-13T14:00:42Z</dc:date>
    </item>
  </channel>
</rss>

