Skip to content

fix: swap vectorStoreID and fileID parameters in PollStatus Get call#537

Open
gbrlmza wants to merge 1 commit intoopenai:mainfrom
gbrlmza:fix/vector-store-file-bad-req
Open

fix: swap vectorStoreID and fileID parameters in PollStatus Get call#537
gbrlmza wants to merge 1 commit intoopenai:mainfrom
gbrlmza:fix/vector-store-file-bad-req

Conversation

@gbrlmza
Copy link

@gbrlmza gbrlmza commented Oct 14, 2025

The parameters were in the wrong order, causing 400 bad request errors. Also added test to verify the correct URL path is used during polling.

The parameters were in the wrong order, causing 400 bad request errors.
Also added test to verify the correct URL path is used during polling.
@MrGossett
Copy link

MrGossett commented Oct 22, 2025

The same bug exists in VectorStoreFileBatch.PollStatus (ref: https://github.com/openai/openai-[go/issues/553](https://www.golinks.io/issues/553?trackSource=github)). Perhaps this PR can address that as well?

@dtmeadows
Copy link
Contributor

Thanks so much @gbrlmza and @MrGossett for flagging this! I just pushed up a fix for both of these polling methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants