Alteryx Designer Desktop Discussions

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

Error HTTP/1.1 401 Unauthorized while reading API URL

Akhand_Singh
6 - Meteoroid

Hi, 

 

We have API V3 documentation which have Basic Auth enabled. We use API Key and Secret key to access them. When i'm trying to run the response URL with Download tool it throws an error   HTTP/1.1 401 Unauthorized also there is null value on Download Data. I checked all articles and some YT videos still can't figure out how can we pass authentication on Alteryx designer. I have tried Https as well, but no luck.

We are using Swagger API documentation. 

Please guide with relevant article or solution. Thanks.

3 REPLIES 3
danilang
19 - Altair
19 - Altair

hi @Akhand_Singh 

 

The easiest way to access the V3 API endpoints is with the V3 API Macro Pack.   You use the Server Authenticate Macro to login and get the Auth token that is then passed on to the other tools to get and post data

 

Dan

BrandonB
Alteryx
Alteryx

@danilang has an excellent recommendation with the V3 Macro Pack. The Server API tool is also nice in that it handles the authentication steps for you: https://marketplace.alteryx.com/en-US/apps/418052/server-api-tool 

Akhand_Singh
6 - Meteoroid
Labels