# Dynatrace losing request parameters after enabling bizevents

**URL:** <https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, business-analytics, request-attributes\
**Created:** [September 28, 2023, 2:02pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827 "2023-09-28T14:02:12Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [September 28, 2023, 2:02pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/1 "2023-09-28T14:02:12Z")

</div>

After enabling the request body using any json key or even \* according to the [documentation](https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-events-capturing#expand--example-request-payload-json-file-for-oneagent), the APIs stop responding, the parameters do not reach the API.

The error only happens when using Request Body, any other parameter works correctly.

Message after enable capture request body:

A non-empty request body is required.

Stack:  
Azure Web Apps with OneAgent Version:&nbsp;1.269.166.20230715-203547

Dotnet 6.0

Dynatrace Biz Events

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [September 29, 2023, 8:52pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/2 "2023-09-29T20:52:38Z")

</div>

Hi&nbsp;[@phmonte](https://community.dynatrace.com/user/65343),  
I recommend you that if you find an impediment in the configuration of bizevent for .NET, use the Support portal. The agents will help you with more detail, for example asking for images, logs, and any other file that helps to identify and reproduce your problem. Here, the community will help too, but could be answered in hours or maybe days.

> **[Dynatrace | Observability built for the age of AI](https://www.dynatrace.com/)**
>
> Innovate faster, operate more efficiently, and drive better business outcomes with observability, AI, automation, and application security in one platform.

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [September 29, 2023, 8:55pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/3 "2023-09-29T20:55:17Z")

</div>

Hi&nbsp;[@phmonte](https://community.dynatrace.com/user/65343),  
What happens when you enable the configuration of bizevent?  
Your application is not working? Do the captured events contain empty values on the request body variable?  
Could you share with us a screenshot of the error you refer to?

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [October 2, 2023, 1:03pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/4 "2023-10-02T13:03:01Z")

</div>

Thanks for responding [@cesarsaravia](https://community.dynatrace.com/user/30478)

The oneagent log file does not save any error or action information other than conventionally.

I made a drawing to show what is happening.

 ![2023-09-18-1112.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1a6e4c05802ccc42f860899706054c3e9681daec.jpeg)

Remembering that the error only happens with the Request Body, the other options are working correctly.

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [October 2, 2023, 6:07pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/5 "2023-10-02T18:07:44Z")

</div>

Hi&nbsp;[@phmonte](https://community.dynatrace.com/user/65343)&nbsp;  
Did you enable the feature flag of capturing .net bizevents? If yes, do you restarted the [Asep.Net](http://Asep.Net) application?

 ![cesarsaravia_0-1696270023213.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/f/2fcffb22b3f833cc7db3d555cd4328de7b81a1e7.png)

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [October 2, 2023, 7:55pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/6 "2023-10-02T19:55:34Z")

</div>

Yes, it is enabled and I tried restarting it again.  
I tested with other apps (another OneAgent/Webapp) and I have the same problem.

 ![phmonte_0-1696276415877.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/0/a0e6447de3ea215f3259dc97645fbd055c4fde95.png)

 ![phmonte_1-1696276442866.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/9/49577c828a4bc108d35fc5351fc9927201910454.png)

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [October 5, 2023, 5:49pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/7 "2023-10-05T17:49:24Z")

</div>

[@phmonte](https://community.dynatrace.com/user/65343)did you got any update on this?

I am suspecting I am facing the same issue.

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [October 5, 2023, 6:26pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/8 "2023-10-05T18:26:30Z")

</div>

So far, no updates&nbsp;[@dannemca](https://community.dynatrace.com/user/18264)

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [October 16, 2023, 1:44pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/9 "2023-10-16T13:44:37Z")

</div>

The problem is not resolved, but an alternative is to disable **Webserver Business Events [Opt-In].**  
A ticket was opened, as soon as it was updated by the dynatrace team, I updated it here with the response.

[@dannemca](https://community.dynatrace.com/user/18264)

 ![phmonte_0-1697463733679.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/4/14e3d947f99859b563e69f86e09c8a5530bf13a9.png)

---

<div class="post-metadata">

**Author:** ![StrangerThing](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/strangerthing/32/12182_2.png) [@StrangerThing](https://community.dynatrace.com/u/StrangerThing)\
**Post date:** [October 16, 2023, 1:51pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/10 "2023-10-16T13:51:26Z")

</div>

I’m also having this problem and have been working with support to resolve. Can update this thread if/when we get to a resolution.

---

<div class="post-metadata">

**Author:** ![pmurray30](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@pmurray30](https://community.dynatrace.com/u/pmurray30)\
**Post date:** [November 10, 2023, 10:14am UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/11 "2023-11-10T10:14:54Z")

</div>

I suspect I’ve just come across this problem with .Net as well. Has anyone had an update?

Also, does this problem only occur with .Net, or have people experienced this with other technologies, such as JAVA?

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [November 10, 2023, 12:32pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/12 "2023-11-10T12:32:47Z")

</div>

.Net here too..

Technologies: .NET (.NET Core 3.1.32.0), [ADO.NET](http://ADO.NET) (System.Data.Common 4.700.22.56512), [ASP.NET](http://ASP.NET) Core (3.100.3222.56610), IIS App Pool (10.0.1776 .NET (.NET Core 3.1.32.0), [ADO.NET](http://ADO.NET) (System.Data.Common 4.700.22.56512), [ASP.NET](http://ASP.NET) Core (3.100.3222.56610), IIS App Pool (10.0.17763.1), MSSQL Client (4.700.20.6702)  
Service technology types: [ASP.NET](http://ASP.NET) CORE, IIS, IIS app pool, DotNet

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [December 1, 2023, 1:03pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/13 "2023-12-01T13:03:08Z")

</div>

Just to update everyone, the dynatrace team activated some debug logs and sent the files for analysis, as soon as they respond, I will update you,

For now I’m with the paleative solution.

---

<div class="post-metadata">

**Author:** ![StrangerThing](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/strangerthing/32/12182_2.png) [@StrangerThing](https://community.dynatrace.com/u/StrangerThing)\
**Post date:** [December 13, 2023, 1:29pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/14 "2023-12-13T13:29:16Z")

</div>

I’ve been told that a fix for this is in the upcoming OneAgent release of version 1.281, expected end of December.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 3, 2024, 6:17pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/15 "2024-01-03T18:17:10Z")

</div>

I got the same reply on my ticket… in release notes, there is no direct mention for this fix:

[https://docs.dynatrace.com/docs/whats-new/release-notes/oneagent/sprint-281](https://docs.dynatrace.com/docs/whats-new/release-notes/oneagent/sprint-281)

and no ETA so far.

---

<div class="post-metadata">

**Author:** ![phmonte](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@phmonte](https://community.dynatrace.com/u/phmonte)\
**Post date:** [January 15, 2024, 3:15pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/16 "2024-01-15T15:15:07Z")

</div>

[@dannemca](https://community.dynatrace.com/user/18264)

I believe it would be this item:

.NET  
The request body is no longer stripped away when a Business Event rule to capture the request body is set. (OA-25428)

I haven’t tested it yet, as soon as I test it I’ll let you know if it worked.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 15, 2024, 3:47pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/17 "2024-01-15T15:47:48Z")

</div>

Yep, they did update the release notes last week. My env is still in 1.279 (OA), when ready, I will test it too.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 18, 2024, 4:47pm UTC](https://community.dynatrace.com/t/dynatrace-losing-request-parameters-after-enabling-bizevents/41827/18 "2024-01-18T16:47:47Z")

</div>

Just upated to 1.281 and issue is solved. Capturing anything with no 400 error anymore.

Note, the OneAgent should be updated in host and also in the process, so a restart is needed.
