{"record":{"id":"7ae3aaa41db839be","repo":"OpenBB-finance/OpenBB","slug":"symbol-is-a-required-field-for-fmp-7ae3aa","errorCode":null,"errorMessage":"Symbol is a required field for FMP.","messagePattern":"Symbol is a required field for FMP\\.","errorType":"validation","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fmp/openbb_fmp/models/forward_eps_estimates.py","lineNumber":48,"sourceCode":"        default=\"annual\",\n        description=\"The future fiscal period to retrieve estimates for.\",\n    )\n    limit: int | None = Field(\n        default=None,\n        description=QUERY_DESCRIPTIONS.get(\"limit\", \"\")\n        + \" Number of historical periods.\",\n    )\n    include_historical: bool = Field(\n        default=False,\n        description=\"If True, the data will include all past data and the limit will be ignored.\",\n    )\n\n    @field_validator(\"symbol\", mode=\"before\", check_fields=False)\n    @classmethod\n    def check_symbol(cls, value):\n        \"\"\"Check the symbol.\"\"\"\n        if not value:\n            raise OpenBBError(\"Symbol is a required field for FMP.\")\n        return value\n\n\nclass FMPForwardEpsEstimatesData(ForwardEpsEstimatesData):\n    \"\"\"FMP Forward EPS Data.\"\"\"\n\n    __alias_dict__ = {\n        \"number_of_analysts\": \"numberAnalystsEps\",\n        \"high_estimate\": \"epsHigh\",\n        \"low_estimate\": \"epsLow\",\n        \"mean\": \"epsAvg\",\n    }\n\n\nclass FMPForwardEpsEstimatesFetcher(\n    Fetcher[\n        FMPForwardEpsEstimatesQueryParams,\n        list[FMPForwardEpsEstimatesData],","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fmp/openbb_fmp/models/forward_eps_estimates.py#L30-L66","documentation":"Error \"Symbol is a required field for FMP.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fmp/openbb_fmp/models/forward_eps_estimates.py:48 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide the 'symbol' parameter with a valid ticker.","Ensure the symbol string is non-empty before calling the endpoint."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3e071fcc2cd9f891cac6040ae60296dba76dab46","analyzedAt":"2026-08-14T23:40:48.960Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}