# Custom Device Metric Ingestion

**URL:** <https://community.dynatrace.com/t/custom-device-metric-ingestion/40718>\
**Category:** Open Q&A\
**Created:** [July 16, 2023, 10:35pm UTC](https://community.dynatrace.com/t/custom-device-metric-ingestion/40718 "2023-07-16T22:35:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidg](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@davidg](https://community.dynatrace.com/u/davidg)\
**Post date:** [July 16, 2023, 10:35pm UTC](https://community.dynatrace.com/t/custom-device-metric-ingestion/40718/1 "2023-07-16T22:35:35Z")

</div>

I have trying to test some thresholds but cannot ingest customer metric data via the v2api /metrics/injest

ext:tech.IBMMQ\_Java.Queue.Depth

Data Body:

ext:tech.IBMMQ\_Java.Queue.Depth,Queue=FRED.LOG.DATA 2780

The v2 api returns the following error:

failed to parse metric key of message ‘ext:tech.IBMMQ\_Java.Queue.Depth,Queue=FRED.LOG.DATA 278’; error at ‘:’ (index 3)

I have tried various methods of escaping the ‘:’ but would like an example of how this is done.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [July 17, 2023, 5:40am UTC](https://community.dynatrace.com/t/custom-device-metric-ingestion/40718/2 "2023-07-17T05:40:19Z")

</div>

Hey David,

As per the following documentation when using the metric ingestion API you cannot use ‘:’ in the metric key as well as uppercase characters in dimensions.

[Metric ingestion protocol | Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extend-metrics/reference/metric-ingestion-protocol)

Hope this helps!

---

<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:** [July 17, 2023, 12:29pm UTC](https://community.dynatrace.com/t/custom-device-metric-ingestion/40718/3 "2023-07-17T12:29:30Z")

</div>

It seems you are trying to ingest custom data in a extension metric (almost builtin), which I don’t think it is possible.
