Discuss Dropbox Developer & API
Hi,
We are using Dropbox API (C# library) to create folder structure. Here is API we use:
await dropboxClient.Files.CreateFolderV2Async(folderPath);
Somehow it created same folder name like the screenshot below, is there anyway to prevent duplicate folder name and also do not create folder it it exists?
It shouldn't be possible to create a folder with the exact same path of an existing folder. I just tested that behavior and confirmed that the API is returning a 'path/conflict/folder' error in that case for me.
Can you check if you have any unprintable/invisible characters in one of those paths? (For example, the Unicode "zero width space", etc.)
Alternatively, perhaps it was a display or caching issue with the Dropbox web site. If you refresh the site, do you still see a duplicate?
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!