# Was the problem.mainEvent property removed from the problems v2 endpoints?

**URL:** <https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [October 31, 2023, 9:59pm UTC](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392 "2023-10-31T21:59:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott-smith](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@scott-smith](https://community.dynatrace.com/u/scott-smith)\
**Post date:** [October 31, 2023, 9:59pm UTC](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392/1 "2023-10-31T21:59:39Z")

</div>

As late as last week 10/16/2023 there was a MainEvent property on the Problems objects returned from the problems V2 endpoints.&nbsp; The change log&nbsp;[https://docs.dynatrace.com/docs/whats-new/release-notes/dynatrace-api/sprint-277](https://docs.dynatrace.com/docs/whats-new/release-notes/dynatrace-api/sprint-277)&nbsp;even still show the announcement.&nbsp; However, as of today 10/31/2023 it is no longer returned and not mentioned in the documentation any longer either.&nbsp; The MainEvent had a description field on it that was very useful and now it is not there.&nbsp; Why was this removed?&nbsp; It now looks like it is only in the&nbsp;evidenceDetails =\> details =\> dat =\> properties with the key of&nbsp;dt.event.description and only when you get the specific problem by ID

---

<div class="post-metadata">

**Author:** ![GaryWG](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@GaryWG](https://community.dynatrace.com/u/GaryWG)\
**Post date:** [November 1, 2023, 9:52am UTC](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392/2 "2023-11-01T09:52:20Z")

</div>

I concur.

I am setting up problem notifications this week and using the&nbsp;{ProblemDetailsJSONv2} macro which will populate with a payload equal to

_“ **{ProblemDetailsJSONv2}** : Problem as json object following the structure from the&nbsp;[Dynatrace Problems V2 API](https://dt-url.net/7a03ti2). The optional fields evidenceDetails and impactAnalysis are included, but recentComments is not.”_

On Monday this week, it was happily including the mainEvent property, but as of yesterday, that’s&nbsp;gone.

It was, as you say, incredibly useful as it contained the mainEvent.description field of immense value. For example, a “low disk space” problem notification no longer has sufficient details to identify the disk that is low on space.

That release note for 1.277 describes it, I can see our tenant is now on 1.278, and this release&nbsp;note shows it being removed:&nbsp;[Dynatrace API changelog version 1.278 | Dynatrace Docs](https://docs.dynatrace.com/docs/whats-new/release-notes/dynatrace-api/sprint-278)

I would also like to understand why and when it will return?

---

<div class="post-metadata">

**Author:** ![scott-smith](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@scott-smith](https://community.dynatrace.com/u/scott-smith)\
**Post date:** [November 1, 2023, 2:30pm UTC](https://community.dynatrace.com/t/was-the-problem-mainevent-property-removed-from-the-problems-v2-endpoints/42392/3 "2023-11-01T14:30:46Z")

</div>

Thanks for the link to the change log for 1.278.&nbsp; That at least confirms that it was removed, but not why.&nbsp; It was very helpful because when getting a list of problems, it was on each problem and did not require an additional call to get details.&nbsp; So, I agree, it would be good to know why it was removed and if it is coming back.
