<?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 JIRA Connector: creating a new connection fails with error Failed on attempt 1 to GET (The remote server returned an error: (401) Unauthorized) in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-JIRA-Connector-creating-a-new-connection-fails-with-error/ta-p/2513352</link>
    <description>&lt;P&gt;The following error may occur when creating a JIRA connection in either Qlik Sense Enterprise on Windows or Qlik Cloud Analytics:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Failed on attempt 1 to GET (The remote server returned an error: (401) Unauthorized.)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="failed on attempt 1 to get the remote server returned an error 401.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179422i3EEB956EEF558443/image-size/large?v=v2&amp;amp;px=999" role="button" title="failed on attempt 1 to get the remote server returned an error 401.png" alt="failed on attempt 1 to get the remote server returned an error 401.png" /&gt;&lt;/span&gt;&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;P&gt;Atlassian announced that basic authentication (username-password) and cookie-based authentication are depreciated. From 3rd June 2019, connections to REST endpoint in JIRA or Confluence Cloud have to use an API token, OAuth, or Atlassian Connect. See &lt;A href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/" target="_blank" rel="noopener"&gt;Deprecation notice - Basic authentication with passwords and cookie-based authentication&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;To authenticate successfully:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;For &lt;FONT color="#339966"&gt;&lt;STRONG&gt;JIRA Server&lt;/STRONG&gt;&lt;/FONT&gt;: use &lt;EM&gt;username and password&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;JIRA Server is not affected by basic authentication having been deprecated.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;For &lt;STRONG&gt;&lt;FONT color="#339966"&gt;JIRA Cloud&lt;/FONT&gt;&lt;/STRONG&gt;: use an&amp;nbsp;&lt;EM&gt;email address&lt;/EM&gt; in the username field and an &lt;EM&gt;API token&lt;/EM&gt; in the password field.&lt;BR /&gt;&lt;BR /&gt;Ensure that the token is valid and has not yet expired.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expired token.png" style="width: 664px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179423i687C5187D4F120AD/image-dimensions/664x267?v=v2" width="664" height="267" role="button" title="expired token.png" alt="expired token.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The error is caused by either:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;A wrong or expired token&lt;/LI&gt;
&lt;LI&gt;A deprecated authentication method: Basic Authentication. See&amp;nbsp;&lt;A href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/" target="_blank" rel="noopener"&gt;Deprecation notice - Basic authentication with passwords and cookie-based authentication&lt;/A&gt;&amp;nbsp;for more information.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Jira-Connector-integrated.htm" target="_blank" rel="noopener"&gt;Jira (Qlik Sense on-premise)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Jira-Connector-integrated.htm" target="_blank" rel="noopener"&gt;Jira (Qlik Cloud Analytics)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&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;Qlik Cloud Analytics&lt;/LI&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows&lt;/LI&gt;
&lt;LI&gt;Qlik Web Connectors&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 07 Apr 2025 12:45:05 GMT</pubDate>
    <dc:creator>Joseph_Musekura</dc:creator>
    <dc:date>2025-04-07T12:45:05Z</dc:date>
    <item>
      <title>Qlik JIRA Connector: creating a new connection fails with error Failed on attempt 1 to GET (The remote server returned an error: (401) Unauthorized)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-JIRA-Connector-creating-a-new-connection-fails-with-error/ta-p/2513352</link>
      <description>&lt;P&gt;The following error may occur when creating a JIRA connection in either Qlik Sense Enterprise on Windows or Qlik Cloud Analytics:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;Failed on attempt 1 to GET (The remote server returned an error: (401) Unauthorized.)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="failed on attempt 1 to get the remote server returned an error 401.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179422i3EEB956EEF558443/image-size/large?v=v2&amp;amp;px=999" role="button" title="failed on attempt 1 to get the remote server returned an error 401.png" alt="failed on attempt 1 to get the remote server returned an error 401.png" /&gt;&lt;/span&gt;&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;P&gt;Atlassian announced that basic authentication (username-password) and cookie-based authentication are depreciated. From 3rd June 2019, connections to REST endpoint in JIRA or Confluence Cloud have to use an API token, OAuth, or Atlassian Connect. See &lt;A href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/" target="_blank" rel="noopener"&gt;Deprecation notice - Basic authentication with passwords and cookie-based authentication&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;To authenticate successfully:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;For &lt;FONT color="#339966"&gt;&lt;STRONG&gt;JIRA Server&lt;/STRONG&gt;&lt;/FONT&gt;: use &lt;EM&gt;username and password&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;JIRA Server is not affected by basic authentication having been deprecated.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;For &lt;STRONG&gt;&lt;FONT color="#339966"&gt;JIRA Cloud&lt;/FONT&gt;&lt;/STRONG&gt;: use an&amp;nbsp;&lt;EM&gt;email address&lt;/EM&gt; in the username field and an &lt;EM&gt;API token&lt;/EM&gt; in the password field.&lt;BR /&gt;&lt;BR /&gt;Ensure that the token is valid and has not yet expired.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expired token.png" style="width: 664px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179423i687C5187D4F120AD/image-dimensions/664x267?v=v2" width="664" height="267" role="button" title="expired token.png" alt="expired token.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The error is caused by either:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;A wrong or expired token&lt;/LI&gt;
&lt;LI&gt;A deprecated authentication method: Basic Authentication. See&amp;nbsp;&lt;A href="https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/" target="_blank" rel="noopener"&gt;Deprecation notice - Basic authentication with passwords and cookie-based authentication&lt;/A&gt;&amp;nbsp;for more information.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Jira-Connector-integrated.htm" target="_blank" rel="noopener"&gt;Jira (Qlik Sense on-premise)&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Integrated_Web_Connectors_help/Content/Connectors_QWC_BuiltIn/Integrated%20connectors/Jira-Connector-integrated.htm" target="_blank" rel="noopener"&gt;Jira (Qlik Cloud Analytics)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&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;Qlik Cloud Analytics&lt;/LI&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows&lt;/LI&gt;
&lt;LI&gt;Qlik Web Connectors&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 07 Apr 2025 12:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-JIRA-Connector-creating-a-new-connection-fails-with-error/ta-p/2513352</guid>
      <dc:creator>Joseph_Musekura</dc:creator>
      <dc:date>2025-04-07T12:45:05Z</dc:date>
    </item>
  </channel>
</rss>

