Hi i am new at n8n to learn i have an error in text classifier how to resolve it "Problem in node ‘Text Classifier‘"

Failed to parse. Text: “[{“type”:“text”,“text”:“json\n{\"order\":false}\n”,“annotations”:}]”. Error: [ { “code”: “invalid_type”, “expected”: “object”, “received”: “array”, “path”: , “message”: “Expected object, received array” } ] Troubleshooting URL: OUTPUT_PARSING_FAILURE - Docs by LangChain

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @ahmad_hassan2
see if this solution still works:

1 Like

Hi @ahmad_hassan2 bro you are an angel