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

Fail gracefully when data is not available to save credits. #139

Open
map588 opened this issue Mar 7, 2025 · 2 comments
Open

Fail gracefully when data is not available to save credits. #139

map588 opened this issue Mar 7, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@map588
Copy link

map588 commented Mar 7, 2025

There seem to be many exceptions raised which halt the script, when it may be possible for the error to be communicated, and the report just not have the details which could not be found.

This is somewhat of a bug report, but I see it as an enhancement, because it would save me lots of credits with financialdatasets.ai. It gets several reports finished, but then it is unable to get responses for some requests.

Rather than just bail on all reports, it would be better to just tell that some reports were unable to be completed, and to display the reports it could generate.

Multiple times I've run the script, watched my credits get spent on requests, it finishes several of the reports, and then dumps the whole process when it receives one 200 HTTP response.

@map588 map588 added the enhancement New feature or request label Mar 7, 2025
@virattt
Copy link
Owner

virattt commented Mar 7, 2025

Hi @map588 - do you have an example input setup (eg tickers, analyst, and model combo) that I can look at to try to reproduce?

Agree that we should gracefully handle errors!

@virattt
Copy link
Owner

virattt commented Mar 7, 2025

Also, please DM me on discord and we can work on a solution together.

Happy to top up your account with credits for helping out!

https://discord.gg/Q6KnaEfw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants