cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting error by calling https://api.dropboxapi.com/2/sharing/list_shared_links

Getting error by calling https://api.dropboxapi.com/2/sharing/list_shared_links

benjaminkromer
Explorer | Level 4
Go to solution

hey,

I want to revoke sharing urls without knowing the urls, so I wanted to list all shared links for the specific cursor which I have from using the search v2 endpoint.

But I get following response:

 

{
    "error_summary": "reset/.",
    "error": {
        ".tag": "reset"
    }
}

 

When I try to create a sharelink via endpoint /2/sharing/create_shared_link_with_settings I get the following response:

 

{
    "error_summary": "shared_link_already_exists/",
    "error": {
        ".tag": "shared_link_already_exists"
    }
}

 

Well that one is correct it exists but I don't know the url.

So what can I do now?

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

If you're getting 'reset' back from /2/sharing/list_shared_links, that means that the cursor you're supplying is no longer valid. You'll need to call back to /2/sharing/list_shared_links without that cursor to reset. When you call back, you can omit both the 'cursor' and 'path' parameters to list all the available shared links.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

If you're getting 'reset' back from /2/sharing/list_shared_links, that means that the cursor you're supplying is no longer valid. You'll need to call back to /2/sharing/list_shared_links without that cursor to reset. When you call back, you can omit both the 'cursor' and 'path' parameters to list all the available shared links.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?