OpenBB-finance/OpenBB · error · OpenBBError

Symbol is a required field for FMP.

Error message

Symbol is a required field for FMP.

What it means

Error "Symbol is a required field for FMP." thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/fmp/openbb_fmp/models/forward_ebitda_estimates.py:48

        default="annual",
        description="The future fiscal period to retrieve estimates for.",
    )
    limit: int | None = Field(
        default=None,
        description=QUERY_DESCRIPTIONS.get("limit", "")
        + " Number of historical periods.",
    )
    include_historical: bool = Field(
        default=False,
        description="If True, the data will include all past data and the limit will be ignored.",
    )

    @field_validator("symbol", mode="before", check_fields=False)
    @classmethod
    def check_symbol(cls, value):
        """Check the symbol."""
        if not value:
            raise OpenBBError("Symbol is a required field for FMP.")
        return value


class FMPForwardEbitdaEstimatesData(ForwardEbitdaEstimatesData):
    """FMP Forward EBITDA Data."""

    __alias_dict__ = {
        "period_ending": "date",
        "high_estimate": "ebitdaHigh",
        "low_estimate": "ebitdaLow",
        "mean": "ebitdaAvg",
    }


class FMPForwardEbitdaEstimatesFetcher(
    Fetcher[
        FMPForwardEbitdaEstimatesQueryParams,
        list[FMPForwardEbitdaEstimatesData],

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Provide the 'symbol' parameter with a valid ticker.
  2. Ensure the symbol string is non-empty before calling the endpoint.

When it happens

Trigger: Thrown at openbb_platform/providers/fmp/openbb_fmp/models/forward_ebitda_estimates.py:48 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/10bf894b14607741. Report an issue: GitHub.