# Vega tree error key is null

**URL:** https://discuss.elastic.co/t/vega-tree-error-key-is-null/313946
**Category:** Kibana
**Tags:** vega
**Created:** [September 8, 2022, 6:15am UTC](https://discuss.elastic.co/t/vega-tree-error-key-is-null/313946 "2022-09-08T06:15:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alice\_Ionescu](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Alice\_Ionescu](https://discuss.elastic.co/u/Alice_Ionescu)
#### Post date: [September 8, 2022, 6:15am UTC](https://discuss.elastic.co/t/vega-tree-error-key-is-null/313946/1 "2022-09-08T06:15:42Z")

</div>

Hello,  
I am trying to create a vega tree visualization. I am not sure how to complete the starting node.  
I've tried to put null, -, but nothing works. If the parent of the last node is null I am getting error \_.\_source.organizations.original.attributes.parent.objectGUID is null (that means that the key is null). If I put - then an error like missing key appears.  
Can you suggest what to do, or what property should I change?  
I am using vega tree based on an index.  
Thanks!

---

<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: [October 6, 2022, 6:15am UTC](https://discuss.elastic.co/t/vega-tree-error-key-is-null/313946/2 "2022-10-06T06:15:55Z")

</div>

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