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: 
MoeE
Partner - Specialist
Partner - Specialist

Issue with starting task using API

Hi,

I hope you are doing good!

I am trying to start a task using QEM yet I keep receiving this error

{"error_code":"AEM_SERVER_NOT_FOUND","error_message":"The requested server \"WIN-ME0G8978JQI\" could not be found."}

Here is the call that I am using in windows powershell:

curl.exe -k -X POST --header "EnterpriseManager.APISessionID: xxxxxxxxxxxxxxx" --header "Content-Length: 0" https://192.168.2.63/attunityenterprisemanager/api/v1/servers/WIN-ME0G8978JQI/tasks/SQL_TO_NULL?action=run"&"option=RELOAD_TARGET

 I've hidden the API session id just in case.

I'm pretty sure that the session id is correct and that the hostname and ip address of the server are correct

is there something else I am unaware of that I am doing wrong?

Regards,

Mohammed

1 Solution

Accepted Solutions
MoeE
Partner - Specialist
Partner - Specialist
Author

Hi,

Issue was solved. It is not asking for the server name on the local machine (as in on windows), it's asking for the server name as it is named in the QEM Console! This distinction should probably be highlighted. 

Regards,

Mohammed

View solution in original post

1 Reply
MoeE
Partner - Specialist
Partner - Specialist
Author

Hi,

Issue was solved. It is not asking for the server name on the local machine (as in on windows), it's asking for the server name as it is named in the QEM Console! This distinction should probably be highlighted. 

Regards,

Mohammed