sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Wrong REST API example?

Open andreyshv opened this issue 5 years ago • 2 comments

It seems like an error in rest api example. AddStubUsingPath method returns "Cannot handle the data at position 0" error, but AddUsingPath works fine.

Add Files

url: http://site url/_api/web/GetFolderByServerRelativePath(decodedUrl='folder name')/Files/AddStubUsingPath(decodedurl='testfile.txt')


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

andreyshv avatar Nov 12 '21 16:11 andreyshv

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Nov 12 '21 16:11 ghost

Thank you for taking the time to file an issue. We periodically archive older or inactive issues as part of our issue management process, which automatically closes them once they are archived.

If you’d like to understand more about why and how we handle archived (closed) issues, please see Our approach to closed issues.

We appreciate your contribution and if this is still an active issue with the latest SPFx versions, please do resubmit the details. We needed to perform a cleanup, so that we can start with a clean table with a new process. We apologize for the inconvenience this might cause.

github-actions[bot] avatar May 02 '25 15:05 github-actions[bot]