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

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!

Can't get Admin API to work

Asteroid

I can get subscription gallery API to work but not the Admin API. I have Admin API enabled.

 

I have been testing the keys and secrets on api docs page for both one works one does not.

 

Any ideas?

 

Thanks  

Alteryx
Alteryx

Hi @bmillrine,

 

When you are testing the Admin API, are you on the Admin tab of the API Documentation page?

 

AdminAPIDocumentation.png

Asteroid

Did you guys ever figure this out?  I copied the Key and Secret directly from Gallery, and I'm on the Admin tab.  And I'm getting denied.  I am using an account with Curator access.  The exact response is below.  Any ideas?

 

Response Body

{
  "data": null,
  "exceptionName": "UnauthorizedException",
  "innerExceptionMessage": "",
  "message": "The provided API Key (oauth_consumer_key) is invalid."
}

Response Code

401

Response Headers

{
"Status": "401",
"Date": "Thu, 14 Feb 2019 18:41:05 GMT",
"Content-Type": "application/json"