# JSON error using code node after subworkflow execution

**URL:** <https://community.n8n.io/t/json-error-using-code-node-after-subworkflow-execution/308386>\
**Category:** Questions\
**Tags:** bug:confirmed\
**Created:** [August 19, 2026, 11:59am UTC](https://community.n8n.io/t/json-error-using-code-node-after-subworkflow-execution/308386 "2026-08-19T11:59:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [August 19, 2026, 12:00pm UTC](https://community.n8n.io/t/json-error-using-code-node-after-subworkflow-execution/308386/2 "2026-08-19T12:00:08Z")

</div>

Hey @jgggr, while you wait for a response, here are some things that might help:

> **Suggested resources**
>
> _Automatically matched to your question._
> 
> **Docs:**
> 
> - [Using the Code node](https://docs.n8n.io/build/code-in-n8n/using-the-code-node)
> - [n8n@1.22.4](https://docs.n8n.io/changelog/release-notes-1.x#n8n1224)
> - [n8n@2.22.1](https://docs.n8n.io/changelog/release-notes-2.x#n8n2221)
> 
> **Forum:**
> 
> - [A ‘json’ property isn’t an object](https://community.n8n.io/t/285894)
> - [Binary File Data Not Accessible When Passed via Execute Sub-Workflow Node](https://community.n8n.io/t/142192)
> - [The ‘JSON Output’ in item 0 contains invalid JSON in the Edit Fields Node](https://community.n8n.io/t/128422)

@David_Streuli, @Matze202 - you’ve helped with similar issues before, can you take a look?

_Automatically suggested by n8n’s community bot. It’s a pilot - [please share feedback here](https://community.n8n.io/t/pilot-forum-helper-bot/304669)._

---

_[View the full topic](https://community.n8n.io/t/json-error-using-code-node-after-subworkflow-execution/308386)._
