OpenAI - Update Assistant

Describe the problem/error/question

Hi, when I am trying to upload a new file to OpenAI and then update an assistant with this new file I get an error that the maximum number of files that can be attached to my assistant is 20. However, my assistant only has 3 files attached and I only need to attach one more.

What is the error message (if any)?

“maximum number of files that can be attached to the assistant is 20”

Please share your workflow

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:

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:

Hi @adamjabarry,

Thanks for posting and Welcome to the community :tada:
I don’t think it should be throwing that error and I can reproduce this too so will report this internally thanks! :slight_smile:

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!