Skip to main content
Question

Connection Error Exception

  • May 22, 2025
  • 1 reply
  • 19 views

Forum|alt.badge.img

?[31mRequest "POST https://api.box.com/2.0/folders" failed with ConnectionError exception: ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))?

Hi, I am currently working on migrating files from a local drive to box. The drive is big, containing more than ten thousand files waiting to be moved. I have written a script to automate the task and would like to leave it running for days in the background to finish the migration. However, I am constantly facing this problem with box, having my connection cut midway of the task and forced to monitor the progress and restarting it. Why is this happening? Is there a limit to the user accessing the api endpoint each time?

1 reply

Forum|alt.badge.img

Hello, 

Unfortunately it is hard to say without further investigation. An issue of this nature will require a ticket with our support team, which can be opened here.

Best,

Kourtney, Box Developer Advocate