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

  1. Retry the call after a delay.
  2. Hit the underlying URL directly to check whether soma.dates is still present; if the key moved, update _get_endpoints/parsing in the provider.
  3. 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

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


AI-assisted analysis of OpenBB-finance/OpenBB@3e071fcc2c (2026-08-14). Data as JSON: /api/errors/e1284d76deb2d024. Report an issue: GitHub.