{"record":{"id":"46e1d660b73429e8","repo":"OpenBB-finance/OpenBB","slug":"no-data-found-for-given-symbols-46e1d6","errorCode":null,"errorMessage":"No data found for given symbols.","messagePattern":"No data found for given symbols\\.","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py","lineNumber":474,"sourceCode":"                ttm_result[\"fiscal_period\"] = \"TTM\"\n                ttm_result[\"fiscal_year\"] = datetime.today().year\n                if currency:\n                    ttm_result[\"reportedCurrency\"] = currency\n                result.insert(0, ttm_result)\n\n            if not result:\n                warnings.warn(f\"Symbol Error: No data found for {symbol}.\")\n\n            if not result:\n                warnings.warn(f\"Symbol Error: No data found for {symbol}.\")\n\n            if result:\n                results.extend(result)\n\n        await asyncio.gather(*[get_one(symbol) for symbol in symbols])\n\n        if not results:\n            raise EmptyDataError(\"No data found for given symbols.\")\n\n        return results\n\n    @staticmethod\n    def transform_data(\n        query: FMPFinancialRatiosQueryParams, data: list, **kwargs: Any\n    ) -> list[FMPFinancialRatiosData]:\n        \"\"\"Return the transformed data.\"\"\"\n        return [\n            FMPFinancialRatiosData.model_validate(d)\n            for d in sorted(data, key=lambda x: x[\"date\"], reverse=True)\n        ]\n","sourceCodeStart":456,"sourceCodeEnd":487,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py#L456-L487","documentation":"Error \"No data found for given symbols.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py:474 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the symbols are valid tickers supported by FMP.","Check your FMP API key and subscription for financial ratios access.","Try different symbols or a different period."],"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-15T17:31:12.345Z"}