# Loosing my code node, parameters, and some nodes when importing a workflow!

**URL:** <https://community.n8n.io/t/loosing-my-code-node-parameters-and-some-nodes-when-importing-a-workflow/273013>\
**Category:** Questions\
**Created:** [March 4, 2026, 1:14pm UTC](https://community.n8n.io/t/loosing-my-code-node-parameters-and-some-nodes-when-importing-a-workflow/273013 "2026-03-04T13:14:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Anshul\_Namdev](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anshul_namdev/32/178229_2.png) [@Anshul\_Namdev](https://community.n8n.io/u/Anshul_Namdev)\
**Post date:** [March 4, 2026, 1:17pm UTC](https://community.n8n.io/t/loosing-my-code-node-parameters-and-some-nodes-when-importing-a-workflow/273013/2 "2026-03-04T13:17:12Z")

</div>

Hi @joseph_frangieh I would recommend reading this:

> [@AI Agent - chat history error on using sessionId from previous node](http://community.n8n.io/t/113265):
>
> Describe the problem/error/question Issue in a workflow with AI agent and agent memory. What am I doing wrong? What is the error message (if any)? connect “Postgres Chat Memory” to “set\_params” (same happens with simple memory) Please share your workflow Share the output returned by the last node Information on your n8n setup n8n version: 1.9.2 Database (default: SQLite): postgresql n8n EXECUTIONS\_PROCE…

---

_[View the full topic](https://community.n8n.io/t/loosing-my-code-node-parameters-and-some-nodes-when-importing-a-workflow/273013)._
