Skip to content

file content function is not working #2366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
rakeshsilswal opened this issue May 21, 2025 · 0 comments
Open
1 task done

file content function is not working #2366

rakeshsilswal opened this issue May 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rakeshsilswal
Copy link

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

vector_stores.files.content(vector_store_id="something", file_id="something_else") is yielding 404.

openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

this setup is in Azure, and using (openai-1.79.0) and i believe this end-point has not been enabled. f"/vector_stores/{vector_store_id}/files/{file_id}/content",

To Reproduce

call content function, which is part of vector_stores/files, and it will fail.

Code snippets

OS

windows

Python version

3.11

Library version

1.79.0

@rakeshsilswal rakeshsilswal added the bug Something isn't working label May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant