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 failures due to the 401 response code. What can be the reason for this?
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.