# "Invalid keys" for Named Querie on Json format

**URL:** <https://forum.inductiveautomation.com/t/invalid-keys-for-named-querie-on-json-format/90507>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 16, 2024, 4:07pm UTC](https://forum.inductiveautomation.com/t/invalid-keys-for-named-querie-on-json-format/90507 "2024-05-16T16:07:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [May 16, 2024, 4:07pm UTC](https://forum.inductiveautomation.com/t/invalid-keys-for-named-querie-on-json-format/90507/1 "2024-05-16T16:07:02Z")

</div>

I making a custom property "data" and I binding Named Query to it,

When the return format is json I got a lot of "Invalid keys" warning.

I should use this way so later i can filter it with checkboxes

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/93f0f344ab06201501f2e6eb760c77a53485e237.png)

Invalid keys warnings:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/abd20f701828960db59edfd2eb63afc9ac057c55.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 16, 2024, 4:26pm UTC](https://forum.inductiveautomation.com/t/invalid-keys-for-named-querie-on-json-format/90507/2 "2024-05-16T16:26:26Z")

</div>

It means your column names aren't valid JSON identifiers, so you get invalid json when specifying json return format.

Change the column names your query returns to conform. For best results, make them have only letters, digits, and underscores, and not start with a digit. No spaces, no other punctuation.
