<?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>article Qlik Talend Cloud: HTTP 403 Forbidden&amp;nbsp;Error When Executing a Task via Talend Management Console API Using Service Account in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Cloud-HTTP-403-Forbidden-nbsp-Error-When-Executing-a/ta-p/2538757</link>
    <description>&lt;P&gt;When attempting to execute a Talend Management Console (TMC) task using a Service Account via the&amp;nbsp;Talend Management Console API, users may encounter an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;HTTP 403 Forbidden&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;response—even if the Service Account is correctly configured.&lt;/P&gt;
&lt;P&gt;When attempting to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;execute a task&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the Processing API endpoint:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.&amp;lt;region&amp;gt;.cloud.talend.com/processing/executions&lt;/LI-CODE&gt;
&lt;DIV class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;the API returns:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-json"&gt;&lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"status"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;403&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"5303a858-8849-4572-ad37-4ce42c077c41"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"message"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"Forbidden"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185802i1D2AA7767C41D01E/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;CODE class="whitespace-pre! language-json"&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This issue typically arises when the necessary permissions for task execution are not granted prior to generating the service account token, or when the service account lacks specific functional permissions pertaining to task execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Observed behavior&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The token generated via:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;POST /security/oauth/token&lt;/FONT&gt;&lt;BR /&gt;is valid.&lt;/P&gt;
&lt;P&gt;The Service Account permissions appear to include:&lt;/P&gt;
&lt;P&gt;TMC_ENGINE_USE&lt;BR /&gt;TMC_ROLE_MANAGEMENT&lt;BR /&gt;TMC_SERVICE_ACCOUNT_MANAGEMENT&lt;BR /&gt;AUDIT_LOGS_VIEW&lt;BR /&gt;TMC_USER_MANAGEMENT&lt;BR /&gt;TMC_CLUSTER_MANAGEMENT&lt;/P&gt;
&lt;P&gt;According to the documentation &lt;A href="https://help.qlik.com/talend/en-US/api-user-guide/Cloud/use-service-account-to-run-tasks" target="_self"&gt;Using a service account to run tasks | Qlik Help Center&lt;/A&gt;, the Service Account must possess either TMCENGINEUSE or TMC_OPERATOR permissions; however, even with these permissions, the execution still fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Step 1: Assign "Tasks and Plans – Edit" Permission&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Navigate to &lt;STRONG&gt;Talend Management Console&lt;/STRONG&gt;→ &lt;STRONG&gt;Users &amp;amp; Security&lt;/STRONG&gt; → &lt;STRONG&gt;Service Accounts&lt;/STRONG&gt;, and ensure the Service Account has the permission: &lt;STRONG&gt;Tasks and Plans – Edit&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Step1.png" style="width: 411px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185804i1DC14D07B4268927/image-size/large?v=v2&amp;amp;px=999" role="button" title="Step1.png" alt="Step1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Step 2: Regenerate the Service Account Token&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;After updating permissions, regenerate service account Token.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185805i45E0507B93142690/image-size/large?v=v2&amp;amp;px=999" role="button" title="step2.png" alt="step2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This ensures that the token contains the updated permission set. Subsequently, rerunning the task via the API will work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rerun_task.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185806iEF0807796DE07D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="rerun_task.png" alt="rerun_task.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Talend Cloud" id="qlik_TalendCloud"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 15 Dec 2025 01:44:53 GMT</pubDate>
    <dc:creator>FangZhen_TAO</dc:creator>
    <dc:date>2025-12-15T01:44:53Z</dc:date>
    <item>
      <title>Qlik Talend Cloud: HTTP 403 Forbidden Error When Executing a Task via Talend Management Console API Using Service Account</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Cloud-HTTP-403-Forbidden-nbsp-Error-When-Executing-a/ta-p/2538757</link>
      <description>&lt;P&gt;When attempting to execute a Talend Management Console (TMC) task using a Service Account via the&amp;nbsp;Talend Management Console API, users may encounter an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;HTTP 403 Forbidden&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;response—even if the Service Account is correctly configured.&lt;/P&gt;
&lt;P&gt;When attempting to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;execute a task&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the Processing API endpoint:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.&amp;lt;region&amp;gt;.cloud.talend.com/processing/executions&lt;/LI-CODE&gt;
&lt;DIV class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;the API returns:&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-json"&gt;&lt;SPAN class="hljs-punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"status"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;403&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"5303a858-8849-4572-ad37-4ce42c077c41"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-attr"&gt;"message"&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-string"&gt;"Forbidden"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="hljs-punctuation"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185802i1D2AA7767C41D01E/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;CODE class="whitespace-pre! language-json"&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This issue typically arises when the necessary permissions for task execution are not granted prior to generating the service account token, or when the service account lacks specific functional permissions pertaining to task execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Observed behavior&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The token generated via:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;POST /security/oauth/token&lt;/FONT&gt;&lt;BR /&gt;is valid.&lt;/P&gt;
&lt;P&gt;The Service Account permissions appear to include:&lt;/P&gt;
&lt;P&gt;TMC_ENGINE_USE&lt;BR /&gt;TMC_ROLE_MANAGEMENT&lt;BR /&gt;TMC_SERVICE_ACCOUNT_MANAGEMENT&lt;BR /&gt;AUDIT_LOGS_VIEW&lt;BR /&gt;TMC_USER_MANAGEMENT&lt;BR /&gt;TMC_CLUSTER_MANAGEMENT&lt;/P&gt;
&lt;P&gt;According to the documentation &lt;A href="https://help.qlik.com/talend/en-US/api-user-guide/Cloud/use-service-account-to-run-tasks" target="_self"&gt;Using a service account to run tasks | Qlik Help Center&lt;/A&gt;, the Service Account must possess either TMCENGINEUSE or TMC_OPERATOR permissions; however, even with these permissions, the execution still fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Step 1: Assign "Tasks and Plans – Edit" Permission&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Navigate to &lt;STRONG&gt;Talend Management Console&lt;/STRONG&gt;→ &lt;STRONG&gt;Users &amp;amp; Security&lt;/STRONG&gt; → &lt;STRONG&gt;Service Accounts&lt;/STRONG&gt;, and ensure the Service Account has the permission: &lt;STRONG&gt;Tasks and Plans – Edit&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Step1.png" style="width: 411px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185804i1DC14D07B4268927/image-size/large?v=v2&amp;amp;px=999" role="button" title="Step1.png" alt="Step1.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Step 2: Regenerate the Service Account Token&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;After updating permissions, regenerate service account Token.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185805i45E0507B93142690/image-size/large?v=v2&amp;amp;px=999" role="button" title="step2.png" alt="step2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This ensures that the token contains the updated permission set. Subsequently, rerunning the task via the API will work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rerun_task.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185806iEF0807796DE07D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="rerun_task.png" alt="rerun_task.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Talend Cloud" id="qlik_TalendCloud"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 15 Dec 2025 01:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Cloud-HTTP-403-Forbidden-nbsp-Error-When-Executing-a/ta-p/2538757</guid>
      <dc:creator>FangZhen_TAO</dc:creator>
      <dc:date>2025-12-15T01:44:53Z</dc:date>
    </item>
  </channel>
</rss>

