Inconsistent data in list folder items request

Highlighted
New Contributor

Inconsistent data in list folder items request

Hi everybody,

I've noticed the following inconsistency while performing a list folder items request.

When the request is done with a personal access token all the file and folders are returned, which total to 17. And this the value of the 'total_count' attribute in the json response.

 

When I make the same exactly request with an administrator token and  the previous user's user_id in the  'As-User' Header, I get 16 items returned and the 'total_count' attribute is 17. There is a folder missing from the listing which was shared to this user from another box user.

 

Is this a bug or I am missing an additional header or query param?

Thanks very much for any input,

Andreas

2 REPLIES 2
Highlighted
Box Employee

Re: Inconsistent data in list folder items request

@aporevo Is the one folder owned by an external user (aka a user not in your Box enterprise)? If so, this is expected behavior. 

Highlighted
New Contributor

Re: Inconsistent data in list folder items request

Hi @kourt ,

Thank you for your prompt reply.

The folder is indeed owned by a Box user not part of the same Team.

If this is an expected behavior, can you point me to some documentation that mentions this,

and probably other stuff that are not included in a As-User folder listing request?

 

BRs,

Andreas