Alteryx Server Discussions

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

Using PostMan to test the Alteryx Gallery API

mstoler
8 - Asteroid

Hello,

 

I am using Postman to test the Alteryx Gallery API using the API call Workflows/Subscription.

 

I notice in Postman that every other call seems to work.  When the call does not work I get the message:

 

'UnauthorizedException The Provided signature(oauth_signature) is invalid'. I then run it again and it works. 

 

The C# program works fine.

 

I am just looking to see if there is a setting in Postman.

 

Thanks,

 

Michale

 

2 REPLIES 2
DavidP
17 - Castor
17 - Castor

Hi @mstoler 

 

Generating the oath_signature is tricky and I'm not sure how you can do this from Postman.

 

@patrick_digan is the master of the Gallery API and there are a number of posts where he describes how to build the oath_signature which you'll find with a bit of searching on the Community.

 

Here's one post that describes some of the detail: https://community.alteryx.com/t5/Alteryx-Server/Access-Gallery-API-through-Alteryx-APP/td-p/25481

 

The easiest way to test the Gallery API is to use the Test harness on your Alteryx server itself, but there are Alteryx Apps and Macros out there that can do this too.

 

Have a look at this post:  https://community.alteryx.com/t5/Engine-Works/Using-the-Alteryx-API-from-Alteryx/ba-p/318565

mstoler
8 - Asteroid

Hello,

 

Thank You.

 

What I did is use the demo app in Javascript from Alteryx which works fine.

 

The c# app also works fine.  

 

I will no longer use Postman for testing.

 

Thanks,

 

Michael