# Why a problem PID could be negative value

**URL:** <https://community.dynatrace.com/t/why-a-problem-pid-could-be-negative-value/53979>\
**Category:** Alerting\
**Tags:** problems, dynatrace-api\
**Created:** [November 4, 2025, 6:02am UTC](https://community.dynatrace.com/t/why-a-problem-pid-could-be-negative-value/53979 "2025-11-04T06:02:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zero\_ho](https://avatars.discourse-cdn.com/v4/letter/z/9de053/32.png) [@zero\_ho](https://community.dynatrace.com/u/zero_ho)\
**Post date:** [November 4, 2025, 6:02am UTC](https://community.dynatrace.com/t/why-a-problem-pid-could-be-negative-value/53979/1 "2025-11-04T06:02:14Z")

</div>

Just wonder why and when a Dynatrace Problem’s unique PID (the long one) would be assigned with negative values.&nbsp; This is related to a custom integration which Dynatrace Problem API will be used to retrieve the PID for some logic checkings.

For example:

```markup
{
   "State":"RESOLVED",
   "ProblemID":"P-251165",
   "PID":"-8318705438857443558_1762084959707V2",
   "ProblemTitle":"Browser monitor global outage",
   "ProblemURL":"https:\/\/MASKED\/#problems\/problemdetails;pid=-8318705438857443558_1762084959707V2",
   "ProblemSeverity":"AVAILABILITY",
   "Tags":"",
   "ImpactedEntities":[
      {
         "type":"SYNTHETIC_TEST",
         "name":"zwiki-test",
         "entity":"SYNTHETIC_TEST-1BAA724C5C4D1005"
      }
   ],
   "ImpactedEntityNames":"zwiki-test",
   "ProblemDetailsJSON":{
      "id":"-8318705438857443558_1762084959707V2",
      "startTime":1762084959707,
      "endTime":1762085854578,

.....

```

Thank you very much.

Zero

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 4, 2025, 7:20am UTC](https://community.dynatrace.com/t/why-a-problem-pid-could-be-negative-value/53979/2 "2025-11-04T07:20:38Z")

</div>

I’d bet it’s a random long type identifier (the value preceded by \_), followed by the current epoch timestamp in miliseconds. Long type can have negative values. [@wolfgang\_beer](https://community.dynatrace.com/user/8624),&nbsp;please correct me if I’m wrong.

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [November 4, 2025, 12:25pm UTC](https://community.dynatrace.com/t/why-a-problem-pid-could-be-negative-value/53979/3 "2025-11-04T12:25:19Z")

</div>

[@Julius\_Loman](https://community.dynatrace.com/user/3364)&nbsp;is perfectly right. I don’t really like the long id, in the future we will replace this with a better ID.
