File download does not work using API
Answered
});
------------------------------------------------------------------
but an error occurs
↓
↓
undefined
/home/mg0x42y7214f7c/BOX-app/HTML/node_modules/bluebird/js/release/async.js:49
fn = function () { throw arg; };
^
TypeError: Cannot read property 'pipe' of undefined
I cant download file and i want help.
-
Hi
I think you will get this error when the fileID you are trying to read either doesn't exist or the user executing the call does not have access to it.
If you add some error handling logic you will probably see a 404 status code being returned.
Hope this helps
Peter Christensen, Platform Solutions Engineer, Box
Please sign in to leave a comment.
Comments
1 comment