Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

benjaminkromer's avatar
benjaminkromer
Explorer | Level 4
4 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.