dbxcli icon indicating copy to clipboard operation
dbxcli copied to clipboard

Cannot ls the root of the app folder

Open bwesen opened this issue 1 year ago • 1 comments

When I do dbxcli ls, it just gives me:

Error: Error in call to API function "files/get_metadata": request body: path: The root folder is unsupported.

I can ls individual files correctly and I can upload files, but I can't list the app folder.

The app has the metadata r/w and content r/w Permissions and the oauth2 refresh token is newly minted.

It works fine if I do ls of any folder within the app folder, but not the app folder itself.

I googled a bit and found that in the v2 dbox API you are not allowed to use get_metadata on the root folder anymore, instead you're supposed to use the list_folders API call, so maybe dbxcli is just trying some old API tricks?

bwesen avatar Apr 16 '24 22:04 bwesen

What is the app folder?

When I run dbxcli ls, I get a listing of the contents of the root of my dropbox.

jaraco avatar Jun 19 '24 16:06 jaraco