OpenAI API Message Assistant Internal Error

No matter what I do and what config I use I am getting an Internal Error for all OpenAI Api “message assistant” nodes

Internal error

Error details

Other info

Item Index

`0`

Node type

`@n8n/n8n-nodes-langchain.openAi`

Node version

`1.4 (Latest)`

n8n version

`1.51.1 (Self Hosted)`

Time

`7/25/2024, 6:15:21 PM`

Stack trace
NodeOperationError: Internal error at Object.router (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/actions/router.js:78:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/OpenAi.node.js:16:16) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1085:20```

Information on your n8n setup

-1.51.1 self hosted

  • docker
  • ubuntu
1 Like

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:

Hey @djjace,

If you check the OpenAI portal does it show any error messages?

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