I can confirm, independent of the polling method the API SDK offers, that the vector store service is broken…again.
This script that is basically a “guaranteed to run” with its own newly-created vector store (and attaching itself as a file name):
openai.NotFoundError: Error code: 404 - {'error': {'message': "No file found with id 'file-DcBL8Kq6ZcRnGdnyDFYirr' in vector store 'vs_68fedd528f60819191cd84d21a5a2a59'.", 'type': 'invalid_request_error', 'param': None, 'code': None}}
I had to add a 5 second sleep before vector_stores.files.retrieve() for success. The API SDK that checks immediately for polling will obviously not be adaptable.