OpenBB-finance/OpenBB · error · EmptyDataError

No data found for given symbols and year.

Error message

No data found for given symbols and year.

What it means

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

Source

Thrown at openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py:152

                filtered_results.extend(
                    [
                        FMPExecutiveCompensationData.model_validate(item)
                        for item in symbol_max_year_data
                    ]
                )
            else:
                filtered_results.extend(
                    [
                        FMPExecutiveCompensationData.model_validate(item)
                        for item in sorted(
                            symbol_data, key=lambda x: x.get("year", 0), reverse=True
                        )
                    ]
                )

        if not filtered_results:
            raise EmptyDataError("No data found for given symbols and year.")

        return filtered_results

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Verify the symbols and year are correct; compensation data may not be filed yet for the requested year.
  2. Try an earlier year or different symbols.
  3. Check that your FMP plan includes executive compensation data.

When it happens

Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py:152 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/1e769c4807ffde1b. Report an issue: GitHub.