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/executive_compensation.py:92
base_url = "https://financialmodelingprep.com/stable/governance-executive-compensation?"
symbols = query.symbol.split(",")
results: list = []
async def get_one(symbol):
"""Get data for one symbol."""
url = f"{base_url}symbol={symbol}&apikey={api_key}"
result = await get_data_many(url, **kwargs)
if not result:
warnings.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 found for given symbols.")
return results
@staticmethod
def transform_data(
query: FMPExecutiveCompensationQueryParams,
data: list,
**kwargs: Any,
) -> list[FMPExecutiveCompensationData]:
"""Return the transformed data."""
# pylint: disable=import-outside-toplevel
import warnings
symbols = query.symbol.split(",")
filtered_results: list[FMPExecutiveCompensationData] = []
for symbol in symbols:
symbol_data = [item for item in data if item.get("symbol") == symbol]View on GitHub (pinned to 3e071fcc2c)
Solutions
- Verify the symbols are valid company tickers on FMP.
- Check that your FMP subscription includes executive compensation data.
- Try different symbols; compensation data is not available for all companies.
When it happens
Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py:92 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/c628afc05240acd0.
Report an issue: GitHub.