# Timeseries Metric Data API not working

**URL:** <https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [August 2, 2018, 9:54am UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408 "2018-08-02T09:54:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranjal](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@pranjal](https://community.dynatrace.com/u/pranjal)\
**Post date:** [August 2, 2018, 9:54am UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/1 "2018-08-02T09:54:37Z")

</div>

Hi Team,

I am trying to fetch metric data using following request

Request:

{“timeseriesId”:“com.dynatrace.builtin:servicemethod.errorcounthttp5xx”,“entities”:[“SERVICE\_METHOD-9ACB771237BE05C6”],“startTimestamp”:1532770980000,“endTimestamp”:1532771100000}

But it fails with following error message:

Status Code: 400  
Response Body: {“error”:{“code”:400,“message”:“The entity SERVICE\_METHOD-9ACB771237BE05C6 is not allowed for the given timeseries id.”}}

---

<div class="post-metadata">

**Author:** ![suresh230591](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/suresh230591/32/280_2.png) [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Post date:** [August 2, 2018, 12:03pm UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/2 "2018-08-02T12:03:55Z")

</div>

Hi Pranjal,

Could you provide any screenshot just to see what parameter you are actually passing. I just tested in my environment it is working fine for me

---

<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:** [August 2, 2018, 12:07pm UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/3 "2018-08-02T12:07:40Z")

</div>

Hi,

Thanks for reporting that. This is a bug introduced in latest deployment. We will fix it within the next hours.

Sorry for the inconveniences.

Best regards,

Wolfgang

---

<div class="post-metadata">

**Author:** ![pranjal](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@pranjal](https://community.dynatrace.com/u/pranjal)\
**Post date:** [August 6, 2018, 4:47pm UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/4 "2018-08-06T16:47:48Z")

</div>

Wolfgang,

Is the bug fixed. As i still the issue with version 1.150.93.20180727-120510

Regards,

Pranjal

---

<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:** [August 7, 2018, 4:51am UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/5 "2018-08-07T04:51:55Z")

</div>

Sorry for the delay, let me check with dev team.

---

<div class="post-metadata">

**Author:** ![hans\_kohlreiter](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hans_kohlreiter/32/37851_2.png) [@hans\_kohlreiter](https://community.dynatrace.com/u/hans_kohlreiter)\
**Post date:** [August 9, 2018, 7:28am UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/6 "2018-08-09T07:28:05Z")

</div>

Hi,

The bug is fixed on all Saas Clusters. There we can fix it without a code change (by switching a feature flag)

In general version 1.150.105.20180807-100248 contains the fix for managed environments

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [August 20, 2018, 3:08pm UTC](https://community.dynatrace.com/t/timeseries-metric-data-api-not-working/14408/7 "2018-08-20T15:08:54Z")

</div>

Hi @wolfgang ,

Do you know if this fix was backported to older versions. I am having this issue with Managed version 148.96. Please advise.

Thanks

NJ
