OpenBB-finance/OpenBB · error · EmptyDataError

No data found for given symbols.

Error message

No data found for given symbols.

What it means

Error "No data found for given symbols." thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py:301

                ttm_result["date"] = datetime.today().date().isoformat()
                ttm_result["fiscal_period"] = "TTM"
                ttm_result["fiscal_year"] = datetime.today().year
                if currency:
                    ttm_result["reportedCurrency"] = currency
                result.insert(0, ttm_result)

            if not result:
                warnings.warn(f"Symbol Error: No data found for {symbol}.")

            if result:
                results.extend(result)

        tasks = [get_one(symbol) for symbol in symbols]

        await asyncio.gather(*tasks)

        if not results:
            raise EmptyDataError("No data found for given symbols.")

        return results

    @staticmethod
    def transform_data(
        query: FMPKeyMetricsQueryParams,
        data: list[dict],
        **kwargs: Any,
    ) -> list[FMPKeyMetricsData]:
        """Return the transformed data."""
        return [
            FMPKeyMetricsData.model_validate(d)
            for d in sorted(data, key=lambda x: x["date"], reverse=True)
        ]

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Verify the symbols are valid tickers supported by FMP.
  2. Check your FMP subscription for key metrics access.
  3. Try different symbols or a different period.

When it happens

Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py:301 when the library encounters an invalid state.

Common situations: See trigger scenarios.


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