{"record":{"id":"e1284d76deb2d024","repo":"OpenBB-finance/OpenBB","slug":"no-data-found-try-again-later","errorCode":null,"errorMessage":"No data found. Try again later.","messagePattern":"No data found\\. Try again later\\.","errorType":"exception","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/federal_reserve/openbb_federal_reserve/utils/ny_fed_api.py","lineNumber":394,"sourceCode":"            If True, returns the last three months of Treasury release and as-of dates.\n\n        Returns\n        -------\n        List[Dict]: Dictionary of the release date and as-of dates.\n\n        Example\n        -------\n        >>> release_log = await SomaHoldings().get_release_log(treasury = True)\n        \"\"\"\n        url = (\n            _get_endpoints()[\"soma_holdings\"][\"list_release_dates\"]\n            if treasury is True\n            else _get_endpoints()[\"soma_holdings\"][\"release_log\"]\n        )\n        response = await fetch_data(url)\n        release_log = response.get(\"soma\", {}).get(\"dates\", [])\n        if not release_log:\n            raise OpenBBError(\"No data found. Try again later.\")\n\n        return release_log\n\n    async def get_summary(self) -> list[dict]:\n        \"\"\"Return historical weekly summary by holding type.\n\n        Returns\n        -------\n        List[Dict]: Historical weekly summary by holding type.\n\n        Example\n        -------\n        summary = await SomaHoldings().get_summary()\n        \"\"\"\n        url = _get_endpoints()[\"soma_holdings\"][\"summary\"]\n        response = await fetch_data(url)\n        summary = response.get(\"soma\", {}).get(\"summary\", [])\n        if not summary:","sourceCodeStart":376,"sourceCodeEnd":412,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/federal_reserve/openbb_federal_reserve/utils/ny_fed_api.py#L376-L412","documentation":"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.","triggerScenarios":"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.","commonSituations":"Scheduled jobs hitting the NY Fed during maintenance windows; schema rename of the 'dates' key; network middleboxes stripping JSON bodies.","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."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"try:\n    log = await SomaHoldings().get_release_log(treasury=treasury)\nexcept OpenBBError:\n    log = cache.get('soma_release_log')  # fallback to last good copy\n    if log is None:\n        raise","preventionTips":["Cache release logs between runs","Treat empty metadata responses as transient; retry with backoff"],"tags":["openbb","ny-fed","soma","transient"],"backgroundTag":null,"analyzedSha":"3e071fcc2cd9f891cac6040ae60296dba76dab46","analyzedAt":"2026-08-14T23:40:48.960Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}