Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Invalid directory error when running workflow from gallery

Isha_Gupta
8 - Asteroid

Hello,

 

So I saved my first workflow in gallery. 

 

When I am trying to run it, it gives invalid directory error. The device is not ready. (21)(Toolid:1) 

 

For context: I saved the workflow, I don't have the access to directory. I added it to collection.

 

But the user who is running the workflow from the collection has the access.

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi @Isha_Gupta ,

 

By default, the workflows are run with the service account, not the user clicking the run button. So the easier solution is to give the service account or run as account enough permissions to access these folders.

 

Here you can find more about how credentials work. https://knowledge.alteryx.com/index/s/article/How-Workflow-Credentials-Work-on-a-Private-Gallery-158...

 

Also important to understand about UNC PATHS, since that is the way to access directories from within the server.  https://knowledge.alteryx.com/index/s/article/Paths-and-Alteryx#:~:text=In%20Alteryx%2C%20you%20can%....

 

Best,

Fernando Vizcaino