This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
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.
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!