You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

benjaminkromer's avatar
benjaminkromer
Explorer | Level 4
3 years ago

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

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?

 

  • 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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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.