box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
222 stars 59 forks source link

Folder items list returns duplicate results #388

Closed zsofiaszabo closed 2 years ago

zsofiaszabo commented 2 years ago

Description of the Issue

The box folders:items 0 command returns some folders multiple times. This has happened with multiple user accounts both with as-user and user tokens, and it continues to return the same folder multiple times if the command is submitted again. This functionality does not occur when directly sending an endpoint request via Postman.

Expected Behavior

Every item only returned once

Screenshots

Example of folder being returned twice

Screen Shot 2022-08-23 at 10 53 20

Versions Used

Box CLI: 3.0.0 (also reproduced on version 3.3.2) Operating System: macOS 12.4 Monterey

arjankowski commented 2 years ago

Hi @zsofiaszabo,

It turns out the Box API has an error getting data using the usemarker query parameter (which boxcli uses). This has been reported to the appropriate team to take care of it.

I'm closing this problem because it's not because of boxcli.

Regards, @arjankowski