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] obb.fixedincome.government.treasury_rates(): Federal Reserve website error - We're sorry, but an unhandled error has occurred. #6091

Closed
deeleeramone opened this issue Feb 17, 2024 · 1 comment · Fixed by #6092
Labels
bug Fix bug platform OpenBB Platform

Comments

@deeleeramone
Copy link
Contributor

Describe the bug

This function has given up: obb.fixedincome.government.treasury_rates()

OpenBBError: Error tokenizing data. C error: Expected 4 fields in line 2137, saw 5

Following the URL, the website on the Federal Reserve returns the message:

 We're sorry, but an unhandled error has occurred.<br/><br/>To try again, click <a href='/datadownload/Output.aspx?filetype=csv&from=&label=include&lastobs=&layout=seriescolumn&rel=H15&series=bf17364827e38702b42a58cf8eaa3f78&to=' class='linkgreen'>here</a>. Or return to the <a href='/datadownload'>Home Page</a>.<br/><br/>

To Reproduce

obb.fixedincome.government.treasury_rates()
@deeleeramone deeleeramone added bug Fix bug platform OpenBB Platform labels Feb 17, 2024
@deeleeramone
Copy link
Contributor Author

Seems to be an issue with the Fed's custom package builder. Building other packages doesn't work either, but we can get around this by using the preformatted one for Constant Maturities.

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