community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Discussions

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

Interactive API Documentation Keeps Returning 401 Error

Highlighted

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

 

 

 

 

Have you discovered the secret power of the Alteryx APIs and SDK? If not, you must attend this session. In this session, we'll show you how you can unlock new and powerful capabilities with the APIs and SDK, and we'll walk through a use case to show you just how powerful the Alteryx API and SDK ...
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