File not Found error thrown after creating Document Set with space in the name
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Hi,
We have found an issue that occurs when attempting to create a Document Set when there is a space in the document set name. The document set is successfully created, but operations that use the document set then fail with a File Not Found Error:

Replacing the CreateDocumentSet call with the relevant source code and debugging I can see that a call to GetFolderByServerRelativeURL is made but the URL has spaces encoded as %20

As a trivial test to confirm this is the issue I replaced the %20 sequences with spaces and the file uploaded successfully

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the CreateDocumentSet flow and the GetFolderByServerRelativeURL call to find where the document set name becomes a server-relative URL. Reproduce the issue with a space in the name, then verify that subsequent file operations succeed without a File Not Found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100