ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now

Dev Space

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

Python library for Alteryx Gallery API

jeffv
8 - Asteroid

Hi,

 

Yes using https://<servername>/gallery/api-docs/ works fine however changing line 31 to https and running it still comes up with the error.  I have reached out to server folks and submitted a support case.

 

Using the api-doc calls seems to work.  I can submit and see status when completed.  However, using the python approach doesn't seem to work. Hmm  not sure what I may be doing wrong.

 

Thanks,

Jeff

joshualherr
Alteryx
Alteryx

We ran into a similar issue with our environments. Our dev environment does not have SSL enabled and I was able to use the Python library to make API calls to our dev environment. But when I repointed to our prod environment which does have SSL enabled, the calls were constantly failing. It took a lot of investigation to finally track down the issue. Apparently, when SSL is not enabled, the endpoint you want to target is '.../gallery/api/v1'. When SSL is enabled, you want to target the endpoint '.../api/v1' (with no /gallery/). Hope this helps!