An external collaborator has shared a folder with me, containing several files which I need to download to a linux server. I have view only access.
I use the box CLI, which is configured with an app that has server authentication with JWT and permission to "Perform actions as user". When I run:
box files:get <file-id> --as-user=<my-box-id>
I can see my own files just fine, and also download them with files:download.
However, when it comes to the files that was shared with me by the external collaborator, the box CLI doesn't work, and gives me the "Unexpected API Response [404 Not Found]" error.
I can download these shared files manually from my browser, but these are big files and it would be convenient if I could directly get them into my remote linux server.
The files and folder I want to download also have shared links with "Invited people only". I tried using the command below on the shared links:
box shared-links:get <shared-link-url> --as-user=<my-box-id>
But I keep getting the same [404 Not Found] error.
How do I use box CLI to download / get files and folders shared with me by external collaborators?