Skip to main content
Question

104 Connection Aborted Error when looking up Trashed Files

  • March 13, 2025
  • 0 replies
  • 36 views

Hello, I’m getting 104 errors when processing webhooks for Trashed files.

The error only occurs in this specific scenario - I have no issues doing similar processing of webhooks for Uploaded or Restored files. I also have tested the same API calls I’m running here from a Jupyter notebook using the same app auth with no issues.

 

Specifically, when I receive a webhook notification that a file has been trashed, I call box.trashed_files.get_trashed_file_by_id() with the ID from the webhook message. (This is all Python with the newer box-sdk-gen library.) This call throws the 104. When I make the same call from my notebook, it returns the file info I need with no errors.