Closed slugbyte closed 1 year ago
also thought it might by good to share that I am able to successfully use the cli to run other commands like folders:get
and folders:create
Hi @slugbyte This is a known issue - https://github.com/box/boxcli/issues/298 The CLI officially supports node up to v14 - https://github.com/box/boxcli#version-schedule. Try downgrading your node version to v14 and see if that helps.
thanks for the quick reply!!!
downgrading to 14 worked perfectly :)
Description of the Issue
I am trying to upload a files that contains 100 bytes but get either a
ESOCKETTIMEDOUT
timeout error, or a502 - Bad Gateway Error
.at first i was getting an ESOCKETTIMEDOUT error, and after looking though github issues #343
I tried following the timeout configuration setting instructions on https://github.com/box/boxcli/blob/main/docs/configuration.md#configure-how-client-retries-calls-and-handles-timeouts
and then I started to get 502 - Bad Gateway errors
the error docs for the box api say to use an exponetail back off strategy, but the cli docs all ready claim to do that.
what should I Do next
Steps to Reproduce
run
box files:upload -v --parent-id 0 ./project_id_list.txt
Expected Behavior
i expected to upload a file
Versions Used
@box/cli/3.4.0 linux-x64 node-v16.16.0
Error Message, Including Stack Trace
$ box files:upload -v --parent-id 0 ./project_id_list.txt -- INSERT --
ESOCKETTIMEDOUT Error logs
502 error logs