# Facing error while running the Python Node

**URL:** <https://community.n8n.io/t/facing-error-while-running-the-python-node/223971>\
**Category:** Questions\
**Tags:** node\
**Created:** [November 20, 2025, 6:29am UTC](https://community.n8n.io/t/facing-error-while-running-the-python-node/223971 "2025-11-20T06:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yash\_Kumar1](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/yash_kumar1/32/138800_2.png) [@Yash\_Kumar1](https://community.n8n.io/u/Yash_Kumar1)\
**Post date:** [November 20, 2025, 6:29am UTC](https://community.n8n.io/t/facing-error-while-running-the-python-node/223971/1 "2025-11-20T06:29:45Z")

</div>

Hi Everyone

I am facing error with the Python node in n8n

The node is in execute state only,

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/b/e/bee7e08242c3a9db268d9fb698250035983187c4.png)

The problem is, the code is just a simple return statement.

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

No error is returned from this node.

If anyone has faced this before, please help.

Thank You!

---

<div class="post-metadata">

**Author:** ![Piotr\_Sikora](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/piotr_sikora/32/133005_2.png) [@Piotr\_Sikora](https://community.n8n.io/u/Piotr_Sikora)\
**Post date:** [November 26, 2025, 8:59am UTC](https://community.n8n.io/t/facing-error-while-running-the-python-node/223971/2 "2025-11-26T08:59:57Z")

</div>

Hi @Yash_Kumar1

Welcome in n8n community!

I’ve checked your code - yes it doesn’t return anything. Even error.

Please try to return (there is a small adjustment in case of returned object format):

```auto
return [{"response": "your response"}]

```

Ready to import n8n JSON:

---

<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:** [February 24, 2026, 9:00am UTC](https://community.n8n.io/t/facing-error-while-running-the-python-node/223971/3 "2026-02-24T09:00:34Z")

</div>

Closed on February 24, 2026, 9:00am UTC

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