Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
shubham121
Contributor
Contributor

Issue with QEM login API

Hi, As a freelancer i got login URL and username/password from my client to work in qlik replicate.

below is format of URL which open qlik replicate platform in web.

https://***.eu.qlikcloud.com/qdi/home

 

I developed qlik replicate project, now i need to call this project from python script.

I am planning to call 1. login followed by 2. runTask API, let me know if this is not correct approach.

While calling login api. i am getting connected to the endpoint as i get 200 in response but APISessionId is not retured. Below is the response,

HTTP/2 200
content-type: text/html; charset=utf-8
content-length: 2518
x-frame-options: DENY
strict-transport-security: max-age=15724800; includeSubDomains
cache-control: no-store
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-ingress: MWC

 

PLease suggest what is wrong. 

endpoint URL i am calling using is: https://<host-name>/attunityenterprisemanager/api/V1/login

where host_name i am replacing with "***.eu.qlikcloud.com" ... this i extracted from qlik replicate URL provided by client as mentioned above.

Labels (2)
2 Replies
sureshkumar
Support
Support

Hello @shubham121 
Kindly check the prerequisites of Python API

Prerequisites | Qlik Enterprise Manager Help

Getting started - Login | Qlik Enterprise Manager Help

 

Regards,

Suresh

DesmondWOO
Support
Support

Hi @shubham121 ,

Could you test the login function through our sample program? 

The sample program is located under <Enterprise Manager folder>\clients\python. Edit example.py, you should find following lines: 

### Information for connecting to AEM (replace placeholders with actual connection details)
domain = 'DOMAIN'
username = 'USER'
password = 'PASSWORD'
aem_machine_name = 'some-host'


Please provide your login information and test again.

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!