# AMQP dump writes incorrect body

**URL:** <https://discuss.elastic.co/t/amqp-dump-writes-incorrect-body/229067>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [April 21, 2020, 2:22pm UTC](https://discuss.elastic.co/t/amqp-dump-writes-incorrect-body/229067 "2020-04-21T14:22:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_yumi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/_yumi/32/51522_2.png) [@\_yumi](https://discuss.elastic.co/u/_yumi)\
**Post date:** [April 21, 2020, 2:22pm UTC](https://discuss.elastic.co/t/amqp-dump-writes-incorrect-body/229067/1 "2020-04-21T14:22:45Z")

</div>

Hello!

I'm using packetbeat to capture AMQP traffic with send\_response option enabled. Messages are in JSON. Sometimes it shows me valid JSON that was expected, but sometimes response looks like list of a numbers (I'll show below). Rabbit server, exchange, queue and everything is absolutely the same every time.  
And also there's application that reads AMQP messages. Inside of it these messages with numbers are handled correctly, so the only problem is - they are dumped wrong...

> response 123 13 10 34 112 97 121 68 97 116 101 34 58 34 50 48 50 48 45 48 52 45 50 48 84 48

Could you please give me some suggestions what could I do in that case?

---

<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:** [May 19, 2020, 2:23pm UTC](https://discuss.elastic.co/t/amqp-dump-writes-incorrect-body/229067/2 "2020-05-19T14:23:00Z")

</div>

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