-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload errors on Windows build 203xxx #310
Comments
Same issue here (for all folders on the HoloLens2 and only uploading files - installing apps, etc. works fine). |
Uploading files via browsers was a known issue. Please follow the workaround documented at https://docs.microsoft.com/en-us/hololens/hololens-troubleshooting#device-portal-file-uploaddownload-times-out until you receive the next HoloLens OS update (10.0.19041.1157 or newer, or 10.0.2048.1010 or newer). |
Hello, We're having the very same issue with versions 2004, 20H2 and 21H1. @pbarnettms 's proposed workaround above works fine for fixing the file explorer feature (including file upload/download) in the Devive Portal Web Interface, but, when trying to use the Device Portal API in a c# program to upload files, we are still getting that obscure Code extract :
This used to work fine before Windows Holographic version 2004 . |
The error is saying that your request is missing the "extract" querystring parameter. It must be present and set to "true" or "false". Set it to "true" if the file is a .zip file that you want extracted after upload. |
Add the required `extract` parameter to enable file upload on Windows Holographic version 2004 and heigher. see: microsoft#310
Add the required `extract` parameter to enable file upload on Windows Holographic version 2004 and higher. see: microsoft#310
From Tadashi Tsuyuki via slack:
Hello,
Recently, we got report of errors uploading a file to the HoloLens2 app's LocalState folder.
Our software uses the Windows Device Portal API to upload files.
When I tried it with the emulator, I got an error with versions 10.0.20348.1007 and 10.0.20346.1002.
10.0.19041.1154 and 10.0.19041.1136 work fine.
Is there a solution? Thanks.
Exception information
RequestUri {http://XXX.XXX.XXX.XXX/api/filesystem/apps/file?knownfolderid=LocalAppData&path=/LocalState&packagefullname=XXXXX_1.0.0.0_x86__pzq3xp76mxafg}
Reason Missing extraction flag from http request
Source WindowsDevicePortalWrapper
StatusCode System.Net.HttpStatusCode.BadRequest
Stack Trace
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Tools.WindowsDevicePortal.DevicePortal.d__47.MoveNext()
The text was updated successfully, but these errors were encountered: