Hi,

I'm using the file plugin to download an image using save file action.  When im trying to save the file, im getting a error saying "cannot read property 'getDirectory of null'. im attaching a screenshot of my screen below. 

Solution

Hi Charles

It appears you are creating a directory before hand and sending this to SaveFile and this seems to be giving you this error.  

SaveFile , has a Path parameter which will create the directory if does not exist.  Please try this approach and check if this solves the issue. 


Hope this helps !!!

Solution