OpenBB-finance/OpenBB · error · EmptyDataError

No data returned for the given symbols.

Error message

No data returned for the given symbols.

What it means

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

Source

Thrown at openbb_platform/providers/fmp/openbb_fmp/models/price_target.py:96

        async def get_one(symbol):
            """Get data for one symbol."""
            urls = [
                f"{base_url}symbol={symbol}&page={page}&limit={limit}&apikey={api_key}"
                for page in range(pages)
            ]
            result = await get_data_urls(urls, **kwargs)

            if not result or len(result) == 0:
                warn(f"Symbol Error: No data found for {symbol}")

            if result:
                results.extend(result)

        await asyncio.gather(*[get_one(symbol) for symbol in symbols])

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

        return sorted(
            results, key=lambda x: (x["publishedDate"], x["symbol"]), reverse=True
        )

    @staticmethod
    def transform_data(
        query: FMPPriceTargetQueryParams, data: list[dict], **kwargs: Any
    ) -> list[FMPPriceTargetData]:
        """Return the transformed data."""
        return [FMPPriceTargetData.model_validate(item) for item in data]

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Verify the symbols are valid tickers with analyst coverage on FMP.
  2. Check that your FMP subscription includes price target data.
  3. Try symbols with active analyst coverage; many small caps have none.

When it happens

Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/price_target.py:96 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/b25fffecb43c4845. Report an issue: GitHub.