<?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>Question Re: HTTPS Sender adapter in iFlow shows sometimes a 401 e... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042142#M4906597</link>
    <description>&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;An external partner application sends its first request without any authentication.&lt;BR /&gt;That's why you see the 401 error code in your logs. Then the client sends another request, this time&lt;BR /&gt;with a proper authentication (and you see HTTP 200).&lt;/P&gt;&lt;P&gt;How to solve that? Your client application should use the preemptive authentication.&lt;BR /&gt;In this way the proper authentication credentials will be sent without waiting for the Unauthorized response.&lt;/P&gt;&lt;P&gt;Andrzej&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 13:53:04 GMT</pubDate>
    <dc:creator>Andrzej_Filusz</dc:creator>
    <dc:date>2025-03-12T13:53:04Z</dc:date>
    <item>
      <title>HTTPS Sender adapter in iFlow shows sometimes a 401 error</title>
      <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaq-p/14041388</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have an iFlow with a HTTPS sender adapter. We created a specific role and assigned the role to this iFlow and a clientID (generated in BTP). In general everything is working fine. An external partner is calling the endpoint and sending messages (XML IDOCs).&lt;/P&gt;&lt;P&gt;However we now have a situation that a specific message (relatively large, size 1MB, XML IDOC) is not being processed by the HTTPS sender adapter.&lt;/P&gt;&lt;P&gt;When checking the Integration Suite Logs I see the following that a HTTP 401 is returned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RonSterren_1-1741730801182.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/236092iE0E01453C86A88E8/image-size/medium?v=v2&amp;amp;px=400" alt="RonSterren_1-1741730801182.png" title="RonSterren_1-1741730801182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also a successfull request is having 401s but will get a 200 in a next request and will continue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RonSterren_0-1741730662783.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/236089i4B454C7430BF1421/image-size/medium?v=v2&amp;amp;px=400" alt="RonSterren_0-1741730662783.png" title="RonSterren_0-1741730662783.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I need to interpret this and how can this be solved?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 22:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaq-p/14041388</guid>
      <dc:creator>RonSterren</dc:creator>
      <dc:date>2025-03-11T22:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Sender adapter in iFlow shows sometimes a 401 e...</title>
      <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042142#M4906597</link>
      <description>&lt;P&gt;Hi Ron,&lt;/P&gt;&lt;P&gt;An external partner application sends its first request without any authentication.&lt;BR /&gt;That's why you see the 401 error code in your logs. Then the client sends another request, this time&lt;BR /&gt;with a proper authentication (and you see HTTP 200).&lt;/P&gt;&lt;P&gt;How to solve that? Your client application should use the preemptive authentication.&lt;BR /&gt;In this way the proper authentication credentials will be sent without waiting for the Unauthorized response.&lt;/P&gt;&lt;P&gt;Andrzej&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042142#M4906597</guid>
      <dc:creator>Andrzej_Filusz</dc:creator>
      <dc:date>2025-03-12T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Sender adapter in iFlow shows sometimes a 401 e...</title>
      <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042319#M4906622</link>
      <description>Hi Andrzej, Thanks for this explanation. I was not aware of that. But my real issue is that the same interface will get a 401 all the time. Do you have an idea how that can happen?</description>
      <pubDate>Wed, 12 Mar 2025 16:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042319#M4906622</guid>
      <dc:creator>RonSterren</dc:creator>
      <dc:date>2025-03-12T16:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Sender adapter in iFlow shows sometimes a 401 e...</title>
      <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042398#M4906634</link>
      <description>&lt;P&gt;deleted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 18:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042398#M4906634</guid>
      <dc:creator>Andrzej_Filusz</dc:creator>
      <dc:date>2025-03-12T18:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS Sender adapter in iFlow shows sometimes a 401 e...</title>
      <link>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042402#M4906635</link>
      <description>Ron, if you get the 401 Unauthorized error all the same then there is something wrong with secret key and/or protocol used by your external partner. Could you please perform a simple test using SoapUI or Postman? If you will be able to send a test message to your interface using the same secret key then it means that guys from your partner made a mistake in their configuration/implementation.</description>
      <pubDate>Wed, 12 Mar 2025 18:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/https-sender-adapter-in-iflow-shows-sometimes-a-401-error/qaa-p/14042402#M4906635</guid>
      <dc:creator>Andrzej_Filusz</dc:creator>
      <dc:date>2025-03-12T18:10:31Z</dc:date>
    </item>
  </channel>
</rss>

