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?
Solved! Go to Solution.
hey @garretwalters12
Have you correctly configured the Alteryx API Runner tool with your API key and secret?
Also, make sure your server is contained within the original text input:
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
@TheOC I have tried two ways.
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