# Error with Text Classifier Node

**URL:** <https://community.n8n.io/t/error-with-text-classifier-node/52807>\
**Category:** Questions\
**Created:** [August 28, 2024, 4:43pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807 "2024-08-28T16:43:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![AI\_Workshop](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@AI\_Workshop](https://community.n8n.io/u/AI_Workshop)\
**Post date:** [August 28, 2024, 4:43pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/1 "2024-08-28T16:43:38Z")

</div>

Text Classifier Node is giving an error " Problem in node ‘Text Classifier‘

Could not get parameter". The AI assistant says it’s a bug. See attached photos

## Information on your n8n setup

- **n8n version:** 1.55.3
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (n8n cloud):**
- **Operating system:**  
 ![Screenshot 2024-08-28 at 9.38.04 AM](https://europe1.discourse-cdn.com/n8n/original/3X/e/9/e95f318f85bd24d447bedab603911791be20034a.png)  
 ![Screenshot 2024-08-28 at 9.37.57 AM](https://europe1.discourse-cdn.com/n8n/original/3X/d/3/d3925865831304acafc9f681b009956ef1411565.jpeg)

---

<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 28, 2024, 4:43pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/2 "2024-08-28T16:43:39Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

---

<div class="post-metadata">

**Author:** ![Ridhwan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ridhwan/32/43647_2.png) [@Ridhwan](https://community.n8n.io/u/Ridhwan)\
**Post date:** [August 28, 2024, 8:52pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/3 "2024-08-28T20:52:33Z")

</div>

Hi @AI_Workshop,  
Could you share the error details as well or alternatively share your workflow.

---

<div class="post-metadata">

**Author:** ![AI\_Workshop](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@AI\_Workshop](https://community.n8n.io/u/AI_Workshop)\
**Post date:** [August 29, 2024, 12:24am UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/4 "2024-08-29T00:24:53Z")

</div>

![Screenshot 2024-08-28 at 5.24.35 PM](https://europe1.discourse-cdn.com/n8n/original/3X/7/5/758ec68b345072ad76c870740e7eac4280a75911.png)

---

<div class="post-metadata">

**Author:** ![Alexandre\_Levinson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alexandre_levinson/32/43918_2.png) [@Alexandre\_Levinson](https://community.n8n.io/u/Alexandre_Levinson)\
**Post date:** [September 3, 2024, 10:09pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/5 "2024-09-03T22:09:10Z")

</div>

I am having the same issue and when I force to continue with the error, it only gets out from my first category even when it is wrong

- \*\*n8n version: 1.56.2
- \*\*Database (default: SQLite):I don´t know this answer
- \*\*n8n EXECUTIONS\_PROCESS setting (default: own, main):own
- \*\*Running n8n via (Docker, npm, n8n cloud, desktop app) npm locally
- **Operating system:** windows 10

---

<div class="post-metadata">

**Author:** ![Alexandre\_Levinson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alexandre_levinson/32/43918_2.png) [@Alexandre\_Levinson](https://community.n8n.io/u/Alexandre_Levinson)\
**Post date:** [September 4, 2024, 2:44pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/6 "2024-09-04T14:44:17Z")

</div>

````auto
type or paste code here
```{
  "name": "My workflow 8",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "id": "e46890f1-a076-4fa2-ba59-5cab2ce7b870",
      "name": "Groq Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "typeVersion": 1,
      "position": [
        1440,
        260
      ],
      "credentials": {
        "groqApi": {
          "id": "693S89XnlTfEevbc",
          "name": "Groq account"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "49225554-557e-4194-bcfd-a157bc57c6b4",
      "name": "Groq Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "typeVersion": 1,
      "position": [
        800,
        100
      ],
      "credentials": {
        "groqApi": {
          "id": "693S89XnlTfEevbc",
          "name": "Groq account"
        }
      }
    },
    {
      "parameters": {},
      "id": "afab62cb-c64f-4e5f-8871-8a088babfee4",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        360,
        460
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "8318d5af-313a-4bf5-b618-1fc58f290838",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        -340,
        140
      ],
      "webhookId": "43b9f0ec-6647-496d-8272-e5fc44b36fca"
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "adfa5145-8cf2-4ee6-9208-d814446f799f",
      "name": "Groq Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "typeVersion": 1,
      "position": [
        -40,
        360
      ],
      "credentials": {
        "groqApi": {
          "id": "693S89XnlTfEevbc",
          "name": "Groq account"
        }
      }
    },
    {
      "parameters": {
        "messages": {
          "messageValues": [
            {
              "message": "That person does not like us"
            }
          ]
        }
      },
      "id": "afe12b45-edf9-4136-bb54-5b0574c653a8",
      "name": "Basic LLM Negative",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.4,
      "position": [
        460,
        -60
      ]
    },
    {
      "parameters": {
        "messages": {
          "messageValues": [
            {
              "message": "That person like us"
            }
          ]
        }
      },
      "id": "85f3f5ad-ffde-47ed-9a85-fc31e193b3ae",
      "name": "Basic LLM Positive",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.4,
      "position": [
        620,
        300
      ]
    },
    {
      "parameters": {
        "inputText": "={{ $json.chatInput }}",
        "categories": {
          "categories": [
            {
              "category": "Negative",
              "description": "The person does not like us"
            },
            {
              "category": "Positive",
              "description": "The human likes us"
            }
          ]
        },
        "options": {
          "fallback": "discard"
        }
      },
      "id": "093fbf39-78c2-4d4d-b955-5967ff54dddd",
      "name": "PositXNegat",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "typeVersion": 1,
      "position": [
        -40,
        140
      ],
      "alwaysOutputData": false,
      "executeOnce": false,
      "retryOnFail": false
    }
  ],
  "pinData": {},
  "connections": {
    "Groq Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Positive",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Negative",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "PositXNegat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "PositXNegat",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "PositXNegat": {
      "main": [
        [
          {
            "node": "Basic LLM Negative",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Basic LLM Positive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "87be1dda-cc21-4efb-bb1e-837fa02c9af7",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "8645ba0b5ee33fc95472804da8cff26c77f44a8b9b5944bda223cb0c73e90e0c"
  },
  "id": "i0LuP9opvnXpTEE9",
  "tags": []
}
````

---

<div class="post-metadata">

**Author:** ![Alexandre\_Levinson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alexandre_levinson/32/43918_2.png) [@Alexandre\_Levinson](https://community.n8n.io/u/Alexandre_Levinson)\
**Post date:** [September 4, 2024, 2:47pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/7 "2024-09-04T14:47:09Z")

</div>

Any help would be highly appreciated, I am just depending on this to avoid programming a solution for it.

---

<div class="post-metadata">

**Author:** ![Jim\_Le](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jim_le/32/45558_2.png) [@Jim\_Le](https://community.n8n.io/u/Jim_Le)\
**Post date:** [September 5, 2024, 9:22am UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/8 "2024-09-05T09:22:50Z")

</div>

Hey @Alexandre_Levinson

This is a known bug and I think a fix is being released soon. The workaround at time of writing is to

1. open the text classifer node
2. add option \> system template (no need to change it)
3. test again

---

<div class="post-metadata">

**Author:** ![Simon\_Coton](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/simon_coton/32/41767_2.png) [@Simon\_Coton](https://community.n8n.io/u/Simon_Coton)\
**Post date:** [November 26, 2024, 2:19pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/9 "2024-11-26T14:19:50Z")

</div>

@Jim_Le you hero, this worked like a charm 🙂

---

<div class="post-metadata">

**Author:** ![Jim\_Le](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jim_le/32/45558_2.png) [@Jim\_Le](https://community.n8n.io/u/Jim_Le)\
**Post date:** [November 26, 2024, 4:04pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/10 "2024-11-26T16:04:56Z")

</div>

Thanks @Simon_Coton!  
But this issue was fixed quite a while ago … definitely recommend upgrading to the latest stable version if you can.

---

<div class="post-metadata">

**Author:** ![Simon\_Coton](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/simon_coton/32/41767_2.png) [@Simon\_Coton](https://community.n8n.io/u/Simon_Coton)\
**Post date:** [November 26, 2024, 4:28pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/11 "2024-11-26T16:28:13Z")

</div>

Ah good to know, haven’t upgraded in a while so I’ll get that sorted. Thanks

---

<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, 2025, 4:28pm UTC](https://community.n8n.io/t/error-with-text-classifier-node/52807/12 "2025-02-24T16:28:40Z")

</div>

Closed on February 24, 2025, 4:28pm UTC

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