Skip to main content
Question

How to create a folder inside Parent folder in BOX.V2.Core in Dotnet

  • May 22, 2025
  • 1 reply
  • 7 views

Forum|alt.badge.img

I want to create a folder inside a parent folder. If Folder already exist then it should get message folder already exist.I have Parent Folder name and New folder Name to create a Folder.

1 reply

Forum|alt.badge.img

Box will return a 409 error if there is already a subfolder already exists, within the given parent folder, with the same name you're trying to use. 

Here's how to create a folder using our .NET SDK: https://github.com/box/box-windows-sdk-v2/blob/master/docs/folders.md#create-a-folder 

You'll need to know the folder ID of the parent folder. In the example on the linked page above, Id = "0which indicates the folder is at the root level. 

Hope this helps point you in the right direction! 

Best,

Kourtney, Box Developer Advocate