Onedrive-api-docs: OneDrive WL.fileDialog does not work anymore

Created on 2 May 2017  路  5Comments  路  Source: OneDrive/onedrive-api-docs

OneDrive WL.fileDialog (javascript API for web apps) does not work anymore. This file/folder seletor feature has worked for two years. But now it does not work.
"The folders couldn't be shared. Please try again later." error occur. How to fix it?

More Detail, Screencapture (stackoverflow)
http://stackoverflow.com/questions/43715793/onedrive-wl-filedialog-does-not-work-anymore

WL.fileDialog({
    mode: "save"
}).then(
    function(resp){
        if(!resp || !resp.data || !resp.data.folders || resp.data.folders.length==0)return;
        var id=resp.data.folders[0].id;
        var arr=id.split('.');
        if(arr.length==3){
            id=arr[arr.length-1];
        }else{
            id='';
        }
        proc_setfolder(id, resp.data.folders[0].name);
    },
    function(resp){
        //alert(resp.error_description);
    }
);
bug

Most helpful comment

We just rolled out an update which should resolve this issue.

All 5 comments

We are also facing the same issue with WL.fileDialog. How do we move forward with this?

Same problem for me also. Any update on that?

sorry guys, our engineer is working on fix it. I will give you update once the fix is deployed, we are strongly recommend you move to new version picker SDK.

"File picker for JavaScript v7.0" supports only HTTPS site. It is problem.
and It can not create new API key with HTTP web domain.

We just rolled out an update which should resolve this issue.

Was this page helpful?
0 / 5 - 0 ratings