#Error code: 404 - {'error': {'message': "No assistant found with id 'xyz'}

1 messages · Page 1 of 1 (latest)

jovial pasture
#

When trying to use File Search assistant, I am getting the Error code: 404 - {'error': {'message': "No assistant found with id 'xyz'} where xyz is a placeholder for my actual assistant's id. This was working fine back when this assistant was called the retrieval assistant but no longer works now that I created the new assistant with v2. Do you have any documentation on this?

summer graniteBOT
#

Hi @jovial pasture. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the knowledge sources provided, it seems like you might be encountering a couple of different issues.

Firstly, the error message "No assistant found with id 'xyz'" suggests that the assistant ID you're using might not be recognized by the OpenAI API. This could be due to a number of reasons, such as the assistant not being properly created or the ID being incorrect. You might want to double-check the assistant ID and ensure that the assistant has been properly created. If the issue persists, you could try creating a new assistant and using its ID instead, as suggested in this forum post (https://community.openai.com/t/507390).

Secondly, regarding the use of the File Search assistant, it seems like there might be an issue with the tool type specified in your request. According to this forum post (https://community.openai.com/t/722267), the error message "Invalid value: ‘file_search’. Supported values are: ‘code_interpreter’, ‘function’, and ‘retrieval’." suggests that 'file_search' might not be a supported tool type. You might want to check the tool types supported by the OpenAI API and ensure that you're using a valid one.

For more detailed information on how to use the OpenAI API and its various features, you can refer to the OpenAI API documentation (https://platform.openai.com/docs/api-reference).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@jovial pasture kapa.ai is still learning and improving, please let us know how it did by reacting below