Some users cannot download files from Box smartobject. Error: Unable to find a file ID from the given path.

  • 16 February 2021
  • 0 replies
  • 17 views

Userlevel 5
Badge +20
 

Some users cannot download files from a Box smartobject. Error: Unable to find a file ID from the given path.

kbt169944

PRODUCT
K2 Cloud
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

Some users cannot download files from Box Smartobject.

Unable to find a file ID from the given path.

Symptoms

Specific users cannot download files hosted in Box.

Resolution

This is not a K2 Product, or Cloud Elements issue. This is the way Box handles permissions via file paths, and is by design.

As an example, let’s say that you have a file, hosted in Box, in the following location: “/folder/folder1/folder2/file.txt”. If the user that is trying to download the file, does not have access to each of the folder locations, the actual path the user will download the file from will be different. IE. If the user doesn’t have access to the root folder, then the user’s path to download the will be “/folder1/folder2/file.txt”.

With the Path being different, depending on Box folder permissions, hard-coded “Paths” will not work consistently for all users.

K2 and Cloud Elements make use of the Box API, and if a user doesn't have permission on a folder, that folder will not be part of that user’s path to the file in Box. Box folder permissions follow a waterfall structure, which means that if the user do not have access to the folder, that folder will be excluded from the path.

https://community.box.com/t5/Collaborate-By-Inviting-Others/Understanding-Folder-Permissions/ta-p/50256


0 replies

Be the first to reply!

Reply