OpenBB-finance/OpenBB · error · OpenBBError
No data found. Try again later.
Error message
No data found. Try again later.
What it means
OpenBBError from SomaHoldings.get_release_log: the release-log (or treasury release-dates) endpoint returned no soma.dates array. Like 374, it signals a failed/empty upstream response for a metadata list that should never legitimately be empty.
Source
Thrown at openbb_platform/providers/federal_reserve/openbb_federal_reserve/utils/ny_fed_api.py:394
If True, returns the last three months of Treasury release and as-of dates.
Returns
-------
List[Dict]: Dictionary of the release date and as-of dates.
Example
-------
>>> release_log = await SomaHoldings().get_release_log(treasury = True)
"""
url = (
_get_endpoints()["soma_holdings"]["list_release_dates"]
if treasury is True
else _get_endpoints()["soma_holdings"]["release_log"]
)
response = await fetch_data(url)
release_log = response.get("soma", {}).get("dates", [])
if not release_log:
raise OpenBBError("No data found. Try again later.")
return release_log
async def get_summary(self) -> list[dict]:
"""Return historical weekly summary by holding type.
Returns
-------
List[Dict]: Historical weekly summary by holding type.
Example
-------
summary = await SomaHoldings().get_summary()
"""
url = _get_endpoints()["soma_holdings"]["summary"]
response = await fetch_data(url)
summary = response.get("soma", {}).get("summary", [])
if not summary:View on GitHub (pinned to 3e071fcc2c)
Solutions
- Retry the call after a delay.
- Hit the underlying URL directly to check whether soma.dates is still present; if the key moved, update _get_endpoints/parsing in the provider.
- Cache the last good release log so transient failures fall back to a recent copy.
Defensive patterns
Strategy: retry
Try / catch
try:
log = await SomaHoldings().get_release_log(treasury=treasury)
except OpenBBError:
log = cache.get('soma_release_log') # fallback to last good copy
if log is None:
raise Prevention
- Cache release logs between runs
- Treat empty metadata responses as transient; retry with backoff
When it happens
Trigger: Calling get_release_log(treasury=True/False) while the NY Fed API is degraded, its response schema changed, or a proxy/interceptor returns an empty body; the code path picks list_release_dates vs release_log by the treasury flag and both read soma.dates.
Common situations: Scheduled jobs hitting the NY Fed during maintenance windows; schema rename of the 'dates' key; network middleboxes stripping JSON bodies.
Related errors
- Error requesting dates. Please try again later.
- There was an error with the request and was returned empty.
- Invalid choice. Choose from: ['all', 'agency debts', 'mbs',
- No results found. Try adjusting the query parameters.
- Invalid choice. Choose from: {', '.join(TREASURY_HOLDING_TYP
AI-assisted analysis of OpenBB-finance/OpenBB@3e071fcc2c (2026-08-14).
Data as JSON: /api/errors/e1284d76deb2d024.
Report an issue: GitHub.