Alteryx Server Discussions

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

POST file via Alteryx Gallery API but it still can't be found

zsims
6 - Meteoroid

I have an app that requires a file as one of the values for it's question payload (File Browse tool). I have a Python script that posts the file to Alteryx Gallery, returns a reference ID, and a 200 status code. However, when I run the app, it tells me it can't find the file. 

 

The app lists a folder path where it's looking for the file, so I'm not sure if I need to overwrite that to get the file to be found. Additionally, I believe I'm using admin credentials so I should have access to the file that is posted. 

 

I saw posts mentioning to use UNC naming convention but wasn't sure if there was a way I could just specify the file path in the API call to run the app. I don't know where the file actually gets posted to on the Gallery so I didn't know what path to specify. 

 

I'm able to execute other apps successfully using my script, so I'm 99% sure this file path issue is what's holding me up on this particular app.

0 REPLIES 0