Skip to main content
Question

Getting 404 ("trashed") Error When Creating Shared Link After Folder Creation

  • November 28, 2025
  • 0 replies
  • 4 views

Forum|alt.badge.img

 

Hello,

I'm running a program that automatically creates folders and shared links using the Box API.
After creating a folder, when I execute the shared link creation (PUT /folders/{id}) for the newly created folder,
I receive the following error:

Status: 404
Details: trashed

Both the folder creation and shared link creation are performed by the same user.
Also, although the error message says "trashed," the folder is not in the trash and can be viewed normally in the Box Web UI.
Therefore, I'm unable to determine why the 404 error is occurring and am stuck.
If anyone has experienced a similar problem or knows a solution, I would appreciate your guidance. Thank you in advance.