<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic EM API Error Response For Compose Failure in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/EM-API-Error-Response-For-Compose-Failure/m-p/2455445#M1384</link>
    <description>&lt;P&gt;We are using AWS lambda to trigger a compose job using Qlik EM API's and we have automated the whole orchestration using a step function. The first step in the process is trigger the compose wf and once the job is triggered, the next step will check the compose wf status using&amp;nbsp;&amp;nbsp;get_task_details by passing server name and wf name.&lt;/P&gt;
&lt;P&gt;The compose wf failed during the execution with this error "Terminated: sqlstate 42S02, errorcode 2003, message SQL compilation error:Object does not exist or not authorized. Cause: " but the response that we received from EM API is entirely different. The error message that I am getting is "There is no error port defined for failed node.". I also observed that when it fails it retries 3 time and at the end it is failing with this error.&lt;/P&gt;
&lt;P&gt;Any help on this topic is greatly appreciated.&lt;/P&gt;
&lt;P&gt;This is how I am invoking get_task_details from my lambda&lt;/P&gt;
&lt;P&gt;status= aem_program.aem_client.get_task_details(server.name,wfname)&lt;/P&gt;
&lt;P&gt;server.name:- name of the server where I have to run the compose wf using EM API&lt;/P&gt;
&lt;P&gt;wfname:- &amp;lt;Workflowname&amp;gt;__&amp;lt;Project Name&amp;gt; I am sending the wf name in this format&lt;/P&gt;
&lt;P&gt;print("message",status.message) :- This is how I am getting the error message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
    <dc:creator>NewbieQlik</dc:creator>
    <dc:date>2025-03-14T20:49:07Z</dc:date>
    <item>
      <title>EM API Error Response For Compose Failure</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/EM-API-Error-Response-For-Compose-Failure/m-p/2455445#M1384</link>
      <description>&lt;P&gt;We are using AWS lambda to trigger a compose job using Qlik EM API's and we have automated the whole orchestration using a step function. The first step in the process is trigger the compose wf and once the job is triggered, the next step will check the compose wf status using&amp;nbsp;&amp;nbsp;get_task_details by passing server name and wf name.&lt;/P&gt;
&lt;P&gt;The compose wf failed during the execution with this error "Terminated: sqlstate 42S02, errorcode 2003, message SQL compilation error:Object does not exist or not authorized. Cause: " but the response that we received from EM API is entirely different. The error message that I am getting is "There is no error port defined for failed node.". I also observed that when it fails it retries 3 time and at the end it is failing with this error.&lt;/P&gt;
&lt;P&gt;Any help on this topic is greatly appreciated.&lt;/P&gt;
&lt;P&gt;This is how I am invoking get_task_details from my lambda&lt;/P&gt;
&lt;P&gt;status= aem_program.aem_client.get_task_details(server.name,wfname)&lt;/P&gt;
&lt;P&gt;server.name:- name of the server where I have to run the compose wf using EM API&lt;/P&gt;
&lt;P&gt;wfname:- &amp;lt;Workflowname&amp;gt;__&amp;lt;Project Name&amp;gt; I am sending the wf name in this format&lt;/P&gt;
&lt;P&gt;print("message",status.message) :- This is how I am getting the error message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/EM-API-Error-Response-For-Compose-Failure/m-p/2455445#M1384</guid>
      <dc:creator>NewbieQlik</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: EM API Error Response For Compose Failure</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/EM-API-Error-Response-For-Compose-Failure/m-p/2455625#M1386</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128304"&gt;@NewbieQlik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get better insight of the issue, i would suggest you open a support ticket.&lt;/P&gt;
&lt;P&gt;Note: This kind of automation process are best handled by our Professional Service Team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 10:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/EM-API-Error-Response-For-Compose-Failure/m-p/2455625#M1386</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-05-23T10:29:09Z</dc:date>
    </item>
  </channel>
</rss>

