Can't add a message to the thread of OpenAI Assistant API

Hello there!

I am trying to realize an assistant using OpenAI Assistant API. Using HTTP Request node for basic logics. It creates a thread successully. But after I am trying to add a user message nothing happens. It has to give back a response looking as


There is no error but no appropriate response as well.

The thread is created successfully. This approach works in Postman fine.

Information on your n8n setup

  • n8n version 1.49.0
  • database SQLite
  • n8n EXECUTIONS_PROCESS main
  • Docker
  • Ubuntu 20

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:

In fact I have pointed that information :slight_smile:

Hi @Nicolay_Vasiliev

my initial thought was, why are you using a HTTP node for this, when we have a dedicated OpenAI Message Assistant Node.

However, if you rely on using MySQL as the memory storage, then this is it for now, as we currently do not offer mySQL as integration for our memory nodes.

Would you be able to share your workflow ideally with some dummy data for us to recreate and see what the issue may be?

Hi Ria,

thanks for your response. This is the strange thing but after some manipulations everything started to work in a manner I wished.

I use MySQL just to control the threads of separate users - not as a memory storage. And all requests to assistants I send via HTTP Request nodes.

2 Likes

Hello, i really would like to see how do you manipulate the threads… Im having this issue where i cant keep memory…

2 Likes

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