Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Error message Alteryx API not file found

Loperal
7 - Meteor

Dear all,

 

I am using the alteryx API to run a workflow in the gallery, so far so good, the API works, starts the workflow BUT in the workflow I have a network file that I  used, if I run this workflow manually or if I use the schedule, it runs without problem but with the API it doesnot. 

 

Can't find the file: "\\ (see picture)

 

I notice that whe I used the API it runs as a local user.  maybe this is the issue as the gallery might not take my credentials in the API 

 

Any idea how to overcome this?

Screenshot 2021-07-21 143313.jpg

 

5 REPLIES 5
BrandonB
Alteryx
Alteryx

Does your Alteryx Server have a Run As user configured that has access to these network resources? 

Loperal
7 - Meteor

HI, I am not the admin of the Server but I imagine we can configure that if we know how, any suggestion how to do it? 

BrandonB
Alteryx
Alteryx

Of course! You can find the resources here: https://help.alteryx.com/20212/server/worker#run-the-worker-as-a-different-user 

 

https://help.alteryx.com/20212/server/configure-required-run-user-permissions 

 

This is done in the "Alteryx System Settings" that can be found on the desktop of the Alteryx Server. They can check the box to "Run as a different user" and then enter in the credentials of a service account that has access to those network resources. That should resolve your issue. 

 

BrandonB_0-1626887710804.png

 

Loperal
7 - Meteor

Awesome, many thanks!  This helps a lot to point into the right direction.  Do you know if this feature can be customozied for each workflow?  because it seems a general setup of the Gallery.

 

 

BrandonB
Alteryx
Alteryx

Of course! So generally speaking the credentials follow this hierarchy: https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-Workflow-Credentials-Work-on-a-Pr... 

 

BrandonB_0-1627313020182.png

 

 

Most of the time when an API is used it is done in a programmatic fashion potentially integrated with processes from other systems which is why a service account is used. 

Labels