<?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: nil cursor never returned in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184924#M7786</link>
    <description>&lt;P&gt;Maybe a clue, was testing an app I written that uses shares; I had created around 800+ @ that point, changed the code yesterday morning to work around it, going to try it this morning perhaps, maybe put in your fix Gregory, a good suggestion.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 May 2016 12:55:25 GMT</pubDate>
    <dc:creator>Mark L.45</dc:creator>
    <dc:date>2016-05-22T12:55:25Z</dc:date>
    <item>
      <title>nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184919#M7781</link>
      <description>&lt;P&gt;Using this call&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/list_shared_links" rel="nofollow noreferrer" target="_blank"&gt;https://api.dropboxapi.com/2/sharing/list_shared_links&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Getting a cursor back cause I had many many links; was working well, until this evening when it stopped working and now just loops, returning the same cursor again and again.&lt;/P&gt;
&lt;P&gt;Tried revoking my share?&lt;/P&gt;
&lt;P&gt;Tried deleting all the links, have only 15 now?&lt;/P&gt;
&lt;P&gt;Tried restarting everything?&lt;/P&gt;
&lt;P&gt;Nothing works? project has come to a standstill tonight... it not my code, its the dropbox server? too many links perhaps?&lt;/P&gt;
&lt;P&gt;Can someone check your end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184919#M7781</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2019-05-29T09:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184920#M7782</link>
      <description>&lt;P&gt;Moved to the API forum.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 03:12:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184920#M7782</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2016-05-20T03:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184921#M7783</link>
      <description>&lt;P&gt;Mark, can you share a sample response or two that's giving you trouble?&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 03:58:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184921#M7783</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-05-20T03:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184922#M7784</link>
      <description>&lt;P&gt;Sure, this is what I get returned, again and again and again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Body: Optional({"links": [{".tag": "file", "url": "&lt;A href="https://www.dropbox.com/s/v2a989i8yfmmmvw/acme2048A.001.png?dl=0" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/v2a989i8yfmmmvw/acme2048A.001.png?dl=0&lt;/A&gt;", "id": "id:piyP0EHNIGAAAAAAAAAAAQ", "name": "acme2048A.001.png", "path_lower": "/slidestack/acme2048a/acme2048a.001.png", "link_permissions": {"resolved_visibility": {".tag": "public"}, "requested_visibility": {".tag": "public"}, "can_revoke": true}, "client_modified": "2016-05-19T18:39:07Z", "server_modified": "2016-05-19T18:39:08Z", "rev": "1848bb52c3", "size": 62002}], "has_more": true, "cursor": "eyJwcm9nIjogIjE0NjM2ODQ4NzEiLCAic2lnIjogIkFaTTRTLUJ6ajE1Q1U2aUluRVJ6dUdjSXlWTkplVDdjYXd3Ty1BQW55bHdReVEifQ"})&lt;/P&gt;
&lt;P&gt;The time shown here 18:39 is roughly the time it broke I suspect. My code resubmits list sharing links with this cursor and gets back the same cursor, we never move ahead?&lt;/P&gt;
&lt;P&gt;Just tried it again this morning, now 06:27 so almost 12 hours later and it behaves the same way.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 11:26:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184922#M7784</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-05-20T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184923#M7785</link>
      <description>&lt;P&gt;Thanks, that's helpful! We're looking into it.&lt;/P&gt;
&lt;P&gt;I can't offer a timeline for a fix right now, so you may want to detect this scenario (e.g., based on the repeated cursor and has_more=true) to work around it for now.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 00:20:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184923#M7785</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-05-21T00:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184924#M7786</link>
      <description>&lt;P&gt;Maybe a clue, was testing an app I written that uses shares; I had created around 800+ @ that point, changed the code yesterday morning to work around it, going to try it this morning perhaps, maybe put in your fix Gregory, a good suggestion.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 12:55:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184924#M7786</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-05-22T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184925#M7787</link>
      <description>&lt;P&gt;I started seeing this in my application. Can you please provide a timeline/date for this fix.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 12:21:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184925#M7787</guid>
      <dc:creator>test s.</dc:creator>
      <dc:date>2016-05-27T12:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184926#M7788</link>
      <description>&lt;P&gt;No update or timeline for this right now.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 05:09:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184926#M7788</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-05-31T05:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: nil cursor never returned</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184927#M7789</link>
      <description>&lt;P&gt;Again seeing this feature. Wrote a PERL script that gets around it, using Greg's suggestion.&lt;/P&gt;
&lt;P&gt;#!/usr/bin/perl&lt;/P&gt;
&lt;P&gt;use JSON;&lt;/P&gt;
&lt;P&gt;use Data::Dumper;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$preheat = `curl -X POST &lt;A href="https://api.dropboxapi.com/2/sharing/list_shared_links%C2%A0" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/sharing/list_shared_links&amp;nbsp;&lt;/A&gt; --header "Authorization: Bearer ab-YourAUTH"&amp;nbsp; --header "Content-Type: application/json"&amp;nbsp; --data "{}"`;&lt;/P&gt;
&lt;P&gt;$pcursor = $cursor = ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;do {&lt;/P&gt;
&lt;P&gt;$pcursor = $cursor;&lt;/P&gt;
&lt;P&gt;$text = decode_json($preheat);&lt;/P&gt;
&lt;P&gt;print&amp;nbsp; Dumper($text);&lt;/P&gt;
&lt;P&gt;$cursor = $text-&amp;gt;{'cursor'};&lt;/P&gt;
&lt;P&gt;#print "[$pcursor] [$cursor]\n";&lt;/P&gt;
&lt;P&gt;if ($cursor ne $pcursor) {&lt;/P&gt;
&lt;P&gt;$paras = "\\\"cursor\\\":\\\"$cursor\\\";&lt;/P&gt;
&lt;P&gt;$cmd = "curl -X POST &lt;A href="https://api.dropboxapi.com/2/sharing/list_shared_links%C2%A0" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/sharing/list_shared_links&amp;nbsp;&lt;/A&gt; --header \"Authorization: Bearer ab-YourAUTH\"&amp;nbsp; --header \"Content-Type: application/json\"&amp;nbsp; --data \"{$paras}\";&lt;/P&gt;
&lt;P&gt;$preheat = `$cmd`;&lt;/P&gt;
&lt;P&gt;} else {&lt;/P&gt;
&lt;P&gt;$cursor = ";&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;} until ($cursor eq ");&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:33:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/nil-cursor-never-returned/m-p/184927#M7789</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-16T15:33:27Z</dc:date>
    </item>
  </channel>
</rss>

