#FileNotFound or failure to attach file to thread

1 messages · Page 1 of 1 (latest)

dense bay
#

Hi guys, not sure if anyone else is experiencing this problem with the assistant API, but I am trying to attach a file to code interpreter via API programmatically. I followed the documentation very closely with the following steps: 1. Uploading a file to default storage. 2. Creating a thread 3. Attaching the file ID to the code interpreter at the thread level. 4. Prompt the AI. An assistant exists in default storage that is instructed to generate a report based on the file that is attached, leveraging some functions. However, the AI is unable to read/open the file. It does not recognize that a file is attached even though the exact curl request from documentation is called with a 200 response. Any suggestions?

hallow cedar