-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Confirm this is a Node library issue and not an underlying OpenAI API issue
- This is an issue with the Node library
Describe the bug
Vector store file content retrieval was working previously, but now it consistently returns a NotFoundError: 404 Not found response. This happens even though the file and vector store IDs are correct and were retrievable earlier.
I think this might be caused by the SDK calling a non-existent endpoint. Looking at the implementation, it seems to be trying to reach GET /vector_stores/{vector_store_id}/files/{file_id}/content, which is also listed in: get vector store file content doc
This was working previously, which suggests the endpoint might have been deprecated or changed
NotFoundError: 404 Not found
error: {
message: 'Not found',
type: 'invalid_request_error',
param: null,
code: null
}
To Reproduce
Create a vector store
Upload file to it
Try to display it via the code below
Code snippets
const item = await this.openai.vectorStores.files.content(
"file-We...",
{
vector_store_id: "vs_68e...",
},
);OS
macOS
Node version
v22.17.0
Library version
5.23.1 AND 6.7.0 tried on both.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working