A file with the following name exists in OneDrive browser.
sample%file name%.pdf
When the above file is downloaded using the following request, an error is returned.
Request:
/_api/web/GetFolderByServerRelativeUrl('%2Fpersonal%2F{my endpoint}%2FDocuments%2F9355')/files('sample%25file%20name%25.pdf')/$value
Response:
HTTP/1.1 404 Not Found
...
cb
<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-2147024894, System.IO.FileNotFoundException</m:code><m:message xml:lang="e
2b
n-US">File Not Found.</m:message></m:error>
0
Is there a SharePoint REST API limitation wherein file with "%" in its name cannot be downloaded?