# Produce message with key reports invalid JSON

**URL:** <https://forum.confluent.io/t/produce-message-with-key-reports-invalid-json/10952>\
**Category:** User Interface\
**Created:** [25 June 2024 12:46 UTC](https://forum.confluent.io/t/produce-message-with-key-reports-invalid-json/10952 "2024-06-25T12:46:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrt181](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mrt181/32/3823_2.png) [@mrt181](https://forum.confluent.io/u/mrt181)\
**Post date:** [25 June 2024 12:46 UTC](https://forum.confluent.io/t/produce-message-with-key-reports-invalid-json/10952/1 "2024-06-25T12:46:28Z")

</div>

I get this message?

![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/c/caeaa65525ae36cabff84876acfb516ad5785b5e.png)

When I quote the key it works:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/5/57f41d9a7512c26ae6f45a24df6ce656d0173f07.png)

But then the key contains the quotation symbols which end up as the primary key in a ksqldb table:

![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/a/a10f9e4aa410f9fff26eb66f8b301bd8fe2311d9.png)

How can I enter the key without quotation symbols.
