Skip to content
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

[Bug] Provider fallback mechanism fails when endpoint is serviced by provider with API key but endpoint does not require API key. #6686

Open
deeleeramone opened this issue Sep 23, 2024 · 0 comments · May be fixed by #6687
Labels
bug Fix bug platform OpenBB Platform

Comments

@deeleeramone
Copy link
Contributor

This path, obb.commodity.petroleum_status_report does not exist yet. The provider, eia, also does not exist yet. The provider will have future endpoints that require an API key, but this one does not. The endpoint is serviced only by this provider, which does not require credentials.

Screenshot 2024-09-22 at 8 02 16 PM

Provider fallback should be checking the Fetcher property for required credentials at the function level, but instead only sees that user.credentials.eia_api_key = None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug platform OpenBB Platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant