# com.dynatrace.builtin:service.errorcounthttp4xx not sending correct data

**URL:** <https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755>\
**Category:** Open Q&A\
**Tags:** services-classic\
**Created:** [September 8, 2017, 2:35pm UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755 "2017-09-08T14:35:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![callum](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@callum](https://community.dynatrace.com/u/callum)\
**Post date:** [September 8, 2017, 2:35pm UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/1 "2017-09-08T14:35:39Z")

</div>

It appears that com.dynatrace.builtin:service.errorcounthttp4xx is not sending the correct data back:

```auto
[1504794000000, 71],
  [1504794600000, 66],
  [1504795200000, 67],
  [1504795800000, 68],
  [1504796400000, 66],
  [1504797000000, 69],
  [1504797600000, 70],
  [1504798200000, 66],
  [1504798800000, 70],
  [1504799400000, 69],

```

According to the data that is being sent back, it’s recording between 60-71 4xx http errors even though the graph on dynatrace is telling a different story:

 ![13900-wat.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/6/d660b8470268af161e232014b1bda48b348b731b.png)

The graph is only showing 2 4xx http errors in the past day.

Can someone explain this?

---

<div class="post-metadata">

**Author:** ![david\_n](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_n/32/12978_2.png) [@david\_n](https://community.dynatrace.com/u/david_n)\
**Post date:** [September 8, 2017, 8:23pm UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/2 "2017-09-08T20:23:00Z")

</div>

Hello Callum,

I would check the time parameters in the get request such as startTimestamp, endTimestamp and relativeTime to ensure that they are not including a timeframe that is larger than the one day timeframe you want.

Thanks,

David Nicholls

---

<div class="post-metadata">

**Author:** ![callum](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@callum](https://community.dynatrace.com/u/callum)\
**Post date:** [September 11, 2017, 8:36am UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/3 "2017-09-11T08:36:26Z")

</div>

The timeframe appears to be correct

---

<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:** [September 11, 2017, 10:12am UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/4 "2017-09-11T10:12:12Z")

</div>

Could you please open a support ticket and share your service id and timeframe on that ticket so that we can check the details.

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [September 11, 2017, 11:22am UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/5 "2017-09-11T11:22:06Z")

</div>

[@Callum B.](https://answers.dynatrace.com/users/19497/view.html) one more idea why you might see different numbers - in the UI did you look for failed requests at the dynamic as well as resource requests?

 ![13911-failed-requests.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/f/7f1bf1096c77ef16bd4b6d41552b4df5417c0693.png)

---

<div class="post-metadata">

**Author:** ![callum](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@callum](https://community.dynatrace.com/u/callum)\
**Post date:** [September 11, 2017, 12:02pm UTC](https://community.dynatrace.com/t/com-dynatrace-builtin-service-errorcounthttp4xx-not-sending-correct-data/7755/6 "2017-09-11T12:02:49Z")

</div>

@Philipp K. Both dynamic and resource requests show similar readings
