Using several AI Assistant nodes - creating error Issues: "Request failed with status code 431"

Describe the problem/error/question

I have several AI Assistant nodes in my workflow. Whenever I click on test workflow, the chosen AI Assistant is not being found anymore.

What is the error message (if any)?

Issues:

  • There was a problem loading the parameter options from server: “Request failed with status code 431”

Please share your workflow

Information on your n8n setup

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

The 431 HTTP response code means header fields too large

Which node are you getting the error on?

on the OpenAi Assistant nodes. Does this mean my prompt is too long?

It’s possible, but the prompt should be getting passed through the body not the headers. I don’t have a ton of experience with the AI nodes yet though.

Maybe try shortening the prompt to not include the dynamic data and see if it runs like that

Thank you! I’ll try that