# How to disable the traceparent and tracestate headers

**URL:** <https://discuss.elastic.co/t/how-to-disable-the-traceparent-and-tracestate-headers/324058>\
**Category:** Elastic Agent\
**Created:** [January 26, 2023, 6:23pm UTC](https://discuss.elastic.co/t/how-to-disable-the-traceparent-and-tracestate-headers/324058 "2023-01-26T18:23:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![e03c5fccb551b6833a65](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/e03c5fccb551b6833a65/32/116444_2.png) [@e03c5fccb551b6833a65](https://discuss.elastic.co/u/e03c5fccb551b6833a65)\
**Post date:** [January 26, 2023, 6:23pm UTC](https://discuss.elastic.co/t/how-to-disable-the-traceparent-and-tracestate-headers/324058/1 "2023-01-26T18:23:08Z")

</div>

One of our services connects with a bank, and it's not allowing any requests with the tracepearent, tracestate header.

I tried using the property **use\_elastic\_traceparent\_header** as false, but still I see the headers in the request.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d9d36ea95ecf57a905646e5de2af10eb0b6fd40d.png)

**APM Agent language and version** :  
Java , 1.28.1

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2023, 6:23pm UTC](https://discuss.elastic.co/t/how-to-disable-the-traceparent-and-tracestate-headers/324058/2 "2023-02-23T18:23:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
