cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

409 error with list_shared_links and business account

409 error with list_shared_links and business account

qwc
Explorer | Level 4
Go to solution

Hi - We are getting the following error:

{"error_summary": "path/not_found/", "error": {".tag": "path", "path": {".tag": "not_found"}}}

When calling the:

https://api.dropboxapi.com/2/sharing/list_shared_links

Endpoint from a business account. It's not erroring with a normal/free user.

Is there something I am missing here? What would the set of API calls be to get the list of shared links for a user to cover all user types?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

Thanks for your patience while we looked into this. This issue was related to accessing the contents of accounts using the "team space" configuration in particular: https://help.dropbox.com/teams-admins/team-member/team-space-overview This should be working properly now.

 

Please refer to the updated documentation for more information on how to use this endpoint to list the shared links in different parts of the user's account: https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links

 

By default, if you don't specify the 'Dropbox-API-Path-Root' header, the call will be rooted in the user's member folder only. If you also want to list shared links in the team space, you'll need to set the the 'Dropbox-API-Path-Root' header root mode as covered in the Namespace Guide: https://www.dropbox.com/developers/reference/namespace-guide

View solution in original post

11 Replies 11

Greg-DB
Dropbox Staff
Go to solution

The /2/sharing/list_shared_links endpoint is the right API endpoint for listing the shared links owned by a user, regardless of account type. 

 

The 'path/not_found' error indicates that there was nothing found at the path specified in the API call via the "path" parameter though. Double check that you're supplying a correct path value for that account. 

 

Note that if you're trying to access the contents of a "team space" though, you will need to configure the API call accordingly. Please refer to the Namespace Guide for information on doing so.

qwc
Explorer | Level 4
Go to solution

Hi - I am not specifying a path parameter, so as per the docs:

If no path is given, returns a list of all shared links for the current user.

Shouldn't this return everything for that current user?

Greg-DB
Dropbox Staff
Go to solution

Thanks for the information! Yes, if you're not supplying the path parameter at all, it should list all of the shared links for that account. Getting a 'path/not_found' in that case is unexpected, so we'll look into it.

Greg-DB
Dropbox Staff
Go to solution

Also, if you can share several 'X-Dropbox-Request-Id' response header values for these unexpected failures, that would be helpful. Thanks in advance! 

qwc
Explorer | Level 4
Go to solution

Hi - great thanks. Here are a few headers as requested - they are all for the same account/request though as we only have the one test business account:

X-Dropbox-Request-Id: 4441335fbdddd5ccdff074a90fda0f1c
X-Dropbox-Request-Id: adb429f3aaafb238c1ccf36347ed3ead
X-Dropbox-Request-Id: f8153e46e014701e5e513629791a238c

Greg-DB
Dropbox Staff
Go to solution

Thanks! That's helpful. We're looking into it. I'll follow up here once I have an update on this.

qwc
Explorer | Level 4
Go to solution

Hi - Did you manage to look into this? Is there any update?

 

Thanks!

Greg-DB
Dropbox Staff
Go to solution

This is still open with engineering, but I don't have an update on this yet. I'll let you know once I do.

qwc
Explorer | Level 4
Go to solution

OK thanks - I guess I'll just have to periodically check back and chase.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    qwc Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?