# ERROR: Cannot read properties of null (reading 'data')

**URL:** <https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896>\
**Category:** Questions\
**Tags:** executions\
**Created:** [March 19, 2024, 4:48pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896 "2024-03-19T16:48:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilherme\_Chagas](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/guilherme_chagas/32/37109_2.png) [@Guilherme\_Chagas](https://community.n8n.io/u/Guilherme_Chagas)\
**Post date:** [March 19, 2024, 4:48pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/1 "2024-03-19T16:48:10Z")

</div>

# Problem description

When I try to check the executions of any workflow, they constantly show messages with the errors like in the image below. Everytime this errors are shown, the executions page is refreshed. If I try to click on the execution to check it on the workflow, after a few seconds, it shows the error again and refreshes the execution page.  
If I click on the **Editor** tab, after a few seconds, it is automatically redirected to the executions page and start that refresh behavior again.

## Error messages

**Message 1**  
“Problem loading data: Cannot read properties of null (reading ‘data’)”

**Message 2**  
“Problem loading data: Cannot destructure property ‘data’ of ‘object null’ as it is null.”

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/d/a/da3842ec0cb0a25a4cfd870736725c96fa2fea98.png)

## Information on your n8n setup

- **n8n version:** 1.29.1
- **Database (default: SQLite):** postgresdb
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** queue
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** k8s
- **Operating system:** linux

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [March 23, 2024, 5:12am UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/2 "2024-03-23T05:12:15Z")

</div>

Hey @Guilherme_Chagas,

Welcome to the community 🎉

I am not able to reproduce this on my own queue mode instance of n8n, Can you try restarting your main instance of n8n and see if that changes anything.

When you do see this error is there any log error from n8n?

---

<div class="post-metadata">

**Author:** ![Guilherme\_Chagas](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/guilherme_chagas/32/37109_2.png) [@Guilherme\_Chagas](https://community.n8n.io/u/Guilherme_Chagas)\
**Post date:** [April 8, 2024, 1:15pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/3 "2024-04-08T13:15:18Z")

</div>

Hello @Jon!  
Thank you!

Restarting the main instance of n8n doesn’t seem to fix the issue.  
The logs are the same as the UI ones:

TypeError: Cannot destructure property ‘data’ of ‘object null’ as it is null.  
TypeError: Cannot read properties of null (reading ‘data’)

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [April 8, 2024, 6:09pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/4 "2024-04-08T18:09:53Z")

</div>

Hey @Guilherme_Chagas,

That is interesting, You don’t have 2 main instances of n8n running do you?

---

<div class="post-metadata">

**Author:** ![Guilherme\_Chagas](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/guilherme_chagas/32/37109_2.png) [@Guilherme\_Chagas](https://community.n8n.io/u/Guilherme_Chagas)\
**Post date:** [April 8, 2024, 7:04pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/5 "2024-04-08T19:04:52Z")

</div>

We are currently using only 1 main instance, 2 webhook, and 30 workers. Does this info help?

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [April 9, 2024, 7:57am UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/6 "2024-04-09T07:57:44Z")

</div>

Hey @Guilherme_Chagas,

Annoyingly it doesn’t, It sounds like the UI is maybe showing a record that doesn’t exist in the database which is why it can’t be loaded or maybe the execution never started properly.

Does this happen for all executions or just specific ones? Normally I would suggest checking the logs for the workers but with 30 it would take a while to check them all.

---

<div class="post-metadata">

**Author:** ![admdiegolima](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/admdiegolima/32/33441_2.png) [@admdiegolima](https://community.n8n.io/u/admdiegolima)\
**Post date:** [April 15, 2024, 4:44pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/7 "2024-04-15T16:44:05Z")

</div>

I’m also having this error, I checked all 4 workers, and none of them show an error in the logs, only in the editor.

 ![Captura de Tela 2024-04-15 às 13.41.27](https://europe1.discourse-cdn.com/n8n/original/3X/f/5/f5efa1525bb4983afbe5f733773444a4cb2ff51c.png)

n8n queue 1.33.1  
database postgres  
fuso -03

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 14, 2024, 4:44pm UTC](https://community.n8n.io/t/error-cannot-read-properties-of-null-reading-data/42896/8 "2024-07-14T16:44:57Z")

</div>

Closed on July 14, 2024, 4:44pm UTC

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