<?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 Team Logs Get Events API  is returning empty events in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470679#M23952</link>
    <description>&lt;P&gt;&lt;SPAN&gt;By trying follwing API with newly created dropbox for business trial account is not returing events&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/team_log/get_events" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/team_log/get_events&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please Check Reponse as follows&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"events"&lt;/SPAN&gt;&lt;SPAN&gt;: [],&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"cursor"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"has_more"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 17 Nov 2020 21:08:07 GMT</pubDate>
    <dc:creator>liftbox</dc:creator>
    <dc:date>2020-11-17T21:08:07Z</dc:date>
    <item>
      <title>Team Logs Get Events API  is returning empty events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470679#M23952</link>
      <description>&lt;P&gt;&lt;SPAN&gt;By trying follwing API with newly created dropbox for business trial account is not returing events&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/team_log/get_events" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/team_log/get_events&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please Check Reponse as follows&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"events"&lt;/SPAN&gt;&lt;SPAN&gt;: [],&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"cursor"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"has_more"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Nov 2020 21:08:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470679#M23952</guid>
      <dc:creator>liftbox</dc:creator>
      <dc:date>2020-11-17T21:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Team Logs Get Events API  is returning empty events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470693#M23953</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1375117"&gt;@liftbox&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Dropbox API calls (and not only) retrieving array of information (such as &lt;A title="2/team_log/get_events" href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_blank" rel="noopener"&gt;2/team_log/get_events&lt;/A&gt;) are asynchronous. Which mean it's not clear when exactly the information you are querying gonna be available and in what "pieces" size. That's why there is "has_more" in the result.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;has_more&lt;/STRONG&gt; &lt;I&gt;Boolean&lt;/I&gt; Is true if there may be additional events that have not been returned yet. An additional call to &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_blank" rel="noopener"&gt;get_events/continue&lt;/A&gt; can retrieve them. Note that has_more may be true, even if events is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just follow the documentation advices. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:24:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470693#M23953</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2020-11-17T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Team Logs Get Events API  is returning empty events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470701#M23954</link>
      <description>&lt;P&gt;Hi @&lt;SPAN&gt;Здравко I tried with your suggestion still I was not able to get the events. I even tried sending following data&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"limit"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"category"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"logins"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:48:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470701#M23954</guid>
      <dc:creator>liftbox</dc:creator>
      <dc:date>2020-11-17T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Team Logs Get Events API  is returning empty events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470707#M23955</link>
      <description>&lt;P&gt;Hi again &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1375117"&gt;@liftbox&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What exactly you have tried? Did you get in loop with &lt;A title="2/team_log/get_events/continue" href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_blank" rel="noopener"&gt;2/team_log/get_events/continue&lt;/A&gt; till the moment when "has_more" becomes false? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Make sure on each loop's pass you use the cursor from the last call result (either get_events or get_events/continue). Don't use the same cursor! What is the result of your last call? You didn't post it.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 15:16:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470707#M23955</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2020-11-17T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Team Logs Get Events API  is returning empty events</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470752#M23958</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1375117"&gt;@liftbox&lt;/a&gt;&amp;nbsp;Здравко is correct; the number of events returned per single response is not guaranteed. Due to various implementation details, a single page may even contain zero events. In any case, your app should always check the 'has_more' value and then call back to&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_self"&gt;/2/team_log/get_events/continue&lt;/A&gt; if it's 'true', and so on each time, supplying the latest returned 'cursor'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please read the&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_self"&gt;/2/team_log/get_events&lt;/A&gt; and&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_self"&gt;/2/team_log/get_events/continue&lt;/A&gt;&amp;nbsp;documentation for information on using them.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:37:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Team-Logs-Get-Events-API-is-returning-empty-events/m-p/470752#M23958</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-17T16:37:53Z</dc:date>
    </item>
  </channel>
</rss>

