# VALIDATION\_ERROR\_ILLEGAL\_METRIC\_CHANGE?

**URL:** <https://community.dynatrace.com/t/validation-error-illegal-metric-change/31015>\
**Category:** Extensions\
**Tags:** dynatrace-managed, extensions\
**Created:** [April 1, 2021, 6:34pm UTC](https://community.dynatrace.com/t/validation-error-illegal-metric-change/31015 "2021-04-01T18:34:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [April 1, 2021, 6:34pm UTC](https://community.dynatrace.com/t/validation-error-illegal-metric-change/31015/1 "2021-04-01T18:34:00Z")

</div>

I have tried to change an extension metric from Milliseconds to Count. Got back the VALIDATION\_ERROR\_ILLEGAL\_METRIC\_CHANGE error.

What is the best practice or possibility in this case? Create a new metric?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [April 1, 2021, 7:01pm UTC](https://community.dynatrace.com/t/validation-error-illegal-metric-change/31015/2 "2021-04-01T19:01:42Z")

</div>

Hi,

The correct way is to change the metric id when you do such a change.&nbsp;  
Mike
