Alteryx Server Discussions

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

Alteryx Gallery API call failing

parparab
7 - Meteor

Hi Team

 

We are trying to run workflow stored in Alteryx Gallery using API call. For that to check API call is working we are using  following URL:- http://localhost/gallery/api-docs/#!/user-workflowsV2.json/EnqueuePOST

Below screen is successful output

 

parparab_0-1607694542164.jpeg

 

 

With Same approach I developed new workflow which gives response URL as follows

http://<lP>/gallery/api/v1/workflows/subscription/<APPID/jobs?&oauth_consumer_key=<key>&oauth_nonce=...=

 

But every time it gives following output

parparab_1-1607694542169.jpeg

 

 

Can you please help me on this.

2 REPLIES 2
MichalM
Alteryx
Alteryx

@parparab 

 

The syntax of the POST request to execute a workflow is

 

http://alteryx/gallery/api/v1/workflows/{APPID}/jobs/?oauth_timestamp={TIMESTAMP}&oauth_signature_method=HMAC-SHA1&oauth_consumer_key={KEY}&oauth_version=1.0&oauth_nonce={NONCE}&oauth_signature={SIGNATURE} 

 

In your request, you're also referencing SUBSCRIPTION which is incorrect

 

subscription.png

 

parparab
7 - Meteor

Thanks MichelM for your responsec, but issue got resolved after doing correction in URL path itself.