We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Sam M.23's avatar
Sam M.23
New member | Level 1
10 years ago

No cursor when fetching list_shared_links

When querying for shared links without a path I successfully return the entries I'm after however I can't seem to return a cursor for the request despite the api document saying:

Cursor is returned only if no path is given or the path is empty. This field is optional.

Any idea why that might be?

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Hi Sam, this seems to work for me:

    $ curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \
    > --header "Authorization: Bearer ACCESS_TOKEN_REDACTED" \
    > --header "Content-Type: application/json" \
    > --data "{}"

    {
    "links": [
    {redacted for brevity}
    ],
    "has_more": true,
    "cursor": "eyJwcm9nIjogIjE0N{redacted for brevity}"
    }

    Can you share a sample request/response showing the issue you're seeing? Thanks in advance! 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
411 Following

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 or Facebook.

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!