Rclone ls/rsync/copy not working with Box

What is the problem you are having with rclone?

trying to rclone directories from:

https://app.box.com/s/yd4pbndk2bxtnourzpbvopga8dczsnes/folder/99392899243

What is your rclone version (output from rclone version)

rclone v1.52.2

  • os/arch: linux/amd64
  • go version: go1.14.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 64-bit

Which cloud storage system are you using? (eg Google Drive)

Box

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd UAMS:

The rclone config contents with secrets removed.

[UAMS]
type = box
box_sub_type = user
root_folder_id = 99392899243
token = {"access_token":"redacted","token_type":"bearer","refresh_token":"redacted","expiry":"redacted"}

A log from the command with the -vv flag

rclone -vv lsd UAMS:
2020/07/13 11:01:25 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "-vv" "lsd" "UAMS:"]
2020/07/13 11:01:25 DEBUG : Using config file from "/home/erich/.config/rclone/rclone.conf"
2020/07/13 11:01:25 ERROR : : error listing: couldn't list files: Error "not_found" (404): Not Found
2020/07/13 11:01:25 DEBUG : 5 go routines active
2020/07/13 11:01:25 Failed to lsd with 2 errors: last error was: couldn't list files: Error "not_found" (404): Not Found

I used the folder ID instead of zero, but to no avail. Please advise. - Erich

It looks like you have the right syntax.

Are you sure the user that you used for the oauth login has access to that folder?

If I try to read that folder I get 404 not found also.

Whereas if I try one of my own folders it works fine.

It's a public-accessible folder. If you just enter the URL in the browser you can access the files. Does the BOX API require authentication even if the files are public?

I think rclone might need to use a different API for this

https://developer.box.com/reference/get-shared-items

In that API you get download links from a static server by the look of it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.