<?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 Re: Issue with Excluding 401 Response Code from Failures in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266278#M3811</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81695"&gt;@jatinarora&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that something that may be more useful for the case you indicate is to apply "Success forcing exceptions"&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreGutierrez_0-1735328976188.png" style="width: 500px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25493i25DFCFAE44DD770D/image-dimensions/500x361?v=v2" width="500" height="361" role="button" title="PierreGutierrez_0-1735328976188.png" alt="PierreGutierrez_0-1735328976188.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By configuring the exception class and message, you can make the request be considered successful.&lt;BR /&gt;I hope its helpful &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 19:52:30 GMT</pubDate>
    <dc:creator>PierreGutierrez</dc:creator>
    <dc:date>2024-12-27T19:52:30Z</dc:date>
    <item>
      <title>Issue with Excluding 401 Response Code from Failures</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266227#M3807</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I’ve been receiving 401 response codes for a few APIs and would like to exclude this status code, treating it as a success instead. I tried overriding the general parameters and set the HTTP parameter as follows [snip attached], but I’m still seeing requests marked as&amp;nbsp;failures due to the 401 response code. What can be the reason for this?&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTTP 401.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25476i65414C764A7A3A8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="HTTP 401.png" alt="HTTP 401.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 13:37:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266227#M3807</guid>
      <dc:creator>jatinarora</dc:creator>
      <dc:date>2025-07-22T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Excluding 401 Response Code from Failures</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266230#M3808</link>
      <description>&lt;P&gt;Are these failed requests throwing exceptions? Dynatrace sometimes marks requests as failed when it detects exceptions, even with successful HTTP status codes. You can verify this in the trace and configure exception rules to ignore specific cases if needed.&lt;/P&gt;&lt;P&gt;For more details, please check scenario 1 in the &lt;A href="https://community.dynatrace.com/t5/tkb/tkbworkflowpage/tkb-id/troubleshooting/article-id/758" target="_blank" rel="noopener"&gt;relevant KB article&lt;/A&gt; or refer to the&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/observe/applications-and-microservices/services/service-monitoring-settings/configure-service-failure-detection" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 09:24:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266230#M3808</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2024-12-27T09:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Excluding 401 Response Code from Failures</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266231#M3809</link>
      <description>&lt;P&gt;Yes the failed requests are throwing exceptions, and that means i will have to mark all the exceptions [failing with 401] as ignored exceptions?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 09:27:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266231#M3809</guid>
      <dc:creator>jatinarora</dc:creator>
      <dc:date>2024-12-27T09:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Excluding 401 Response Code from Failures</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266232#M3810</link>
      <description>&lt;P&gt;Correct.&amp;nbsp;&lt;SPAN&gt;I suggest testing this by ignoring one specific exception first to confirm if this is the root cause.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 09:43:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266232#M3810</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2024-12-27T09:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Excluding 401 Response Code from Failures</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266278#M3811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81695"&gt;@jatinarora&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that something that may be more useful for the case you indicate is to apply "Success forcing exceptions"&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/service-failure-detection#general&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreGutierrez_0-1735328976188.png" style="width: 500px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25493i25DFCFAE44DD770D/image-dimensions/500x361?v=v2" width="500" height="361" role="button" title="PierreGutierrez_0-1735328976188.png" alt="PierreGutierrez_0-1735328976188.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By configuring the exception class and message, you can make the request be considered successful.&lt;BR /&gt;I hope its helpful &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 19:52:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Issue-with-Excluding-401-Response-Code-from-Failures/m-p/266278#M3811</guid>
      <dc:creator>PierreGutierrez</dc:creator>
      <dc:date>2024-12-27T19:52:30Z</dc:date>
    </item>
  </channel>
</rss>

