Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.


It is really a strange thing that only recently I can no longer upload files (csv, img, or any) through device portal to any deployed applications. I tried it on all my three HoloLens, and I tried it with all kinds of browser possible, and I do believe I configured everything to be accessible like developer mode, no firewall, etc.

But it ends up with the error when I click Upload button every time: "Failed to upload file. Error:[object Object]"



  • Same here.

  • same here

  • same same

  • stepan_stulovstepan_stulov ✭✭✭
    edited May 2018

    Hey, guys.


    1. Select the file you wish to upload but do not click the upload button.
    2. Copy-paste the following javascript code into your browser's console.
    3. Wait for the "uploaded" popup.

    javascript:(function(jQuery){var pathLinkData=jQuery('.pathLink:last-child').data(),path=pathLinkData.path,packagename=pathLinkData.packagename,knownfolderid=pathLinkData.knownfolderid,url='/api/filesystem/apps/file?knownfolderid='+knownfolderid+'&packagefullname='+packagename+'&path=%5C%5C'+path,file_data=jQuery('#fileToUpload')[0].files[0],form_data=new FormData();form_data.append('file',file_data,file_data.name);jQuery.ajax({url:url,dataType:'text',cache:false,contentType:false,processData:false,data:form_data,type:'POST',error:function(xhr,textStatus,error){console.error(error)},success:function(res){alert("uploaded");console.log(res);}});})(jQuery);

    I think Device Portal has a bug with missing/incorrect header.


    PS: I am not the author of the code snippet. Unfortunately I cannot find the author anymore but he/she saved my ass a good thousand times by now.

    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.