Alteryx Designer Desktop Discussions

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

Alteryx Server API

garretwalters12
8 - Asteroid

Has anyone been successful connecting to the Alteryx Server via API? I am trying to kick off a job in the server from my desktop but the macro I found on a different discussion board (which I cannot find) is not working correctly. I keep receiving the below response:

 

{"data":null,"exceptionName":"UnauthorizedException","innerExceptionMessage":"","message":"The provided signature(oauth_signature) is invalid."}

 

Attached is the macro I have downloaded. Any ideas?

3 REPLIES 3
TheOC
15 - Aurora
15 - Aurora

hey @garretwalters12 

Have you correctly configured the Alteryx API Runner tool with your API key and secret?

TheOC_0-1638885763329.png



Also, make sure your server is contained within the original text input:

TheOC_1-1638885781907.png



It will follow the format http://{ServerName}/gallery/api/{Endpoint} 

 

You can find more on this here:
https://gallery.alteryx.com/api-docs/

Hope this Helps,
TheOC


Bulien
garretwalters12
8 - Asteroid

@TheOC I have tried two ways.

 

  1. I try running the macro though the workflow but I receiving an error from the Macro (below). I tried updating the download tool (Tool #51) but I get no luck when trying that. garretwalters12_0-1638886651889.png

     

  2. Due to the error above, I tried going into the Macro, updating the parameters manually, and running. But when going into the macro it seems that the interface tool aren't connected to any of the tools. So I am unsure how to properly update the parameters garretwalters12_1-1638886826995.png

     

TheOC
15 - Aurora
15 - Aurora

hey @garretwalters12 


Having a look at the macro, I think you're right. Some interface tools dont seem to connect where i would suspect they should - i would guess its an outdated tool. Are you using the latest version? The author of the article you followed has a link to his latest version - and instructions on how to install it - in the comments:
https://community.alteryx.com/t5/Engine-Works/Using-the-Alteryx-API-from-Alteryx/ba-p/318565

 

Hope this helps,
TheOC


Bulien
Labels