Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Server Discussions

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

Interactive API Documentation Keeps Returning 401 Error

Jake_Jake_Jake
7 - Meteor

I am trying to get started with the Alteryx API, but keep getting 401 errors.  I suspect that there is a setting somewhere that I am missing, but cannot find it. This what I have done.

 

Enabled my private studio to do APIs

Copied the Key and Secret to the interactive API documentation

Get 401 error

 

Attached are screenshots.

 

I'm using the below video as a guide (starting around 23:28)

https://www.youtube.com/watch?v=7zODJHcDq9E

 

 

 

 

1 REPLY 1
MichaelF
Alteryx Alumni (Retired)

Hi @Jake_Jake_Jake,

 

Double check that the key your using matches up with the tabs here (There are Subscription Keys and Admin Keys)

 

fIteyMx

Also, don't forget, that if you're trying to use the API for your own Private Gallery, it's NOT gallery.alteryx.com as this one is for the public gallery. For accessing the API that's using a localhost Server, the url would be http://localhost/gallery/api-docs/#subscription

You can find this link from the "Keys" tab where it says "Visit the Subscription interactive API documentation for more information."

 

Cheers,

Mike