{"record":{"id":"c67ac6f999ddd149","repo":"OpenBB-finance/OpenBB","slug":"no-data-was-returned-for-the-given-symbols","errorCode":null,"errorMessage":"No data was returned for the given symbols.","messagePattern":"No data was returned for the given symbols\\.","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fmp/openbb_fmp/models/historical_market_cap.py","lineNumber":115,"sourceCode":"            data = await get_data_urls(urls, **kwargs)\n\n            if not data:\n                warnings.warn(f\"No data was found for: {symbol}\")\n                continue\n\n            results.extend(data)\n\n        return results\n\n    @staticmethod\n    def transform_data(\n        query: FmpHistoricalMarketCapQueryParams,\n        data: list,\n        **kwargs: Any,\n    ) -> list[FmpHistoricalMarketCapData]:\n        \"\"\"Return the transformed data.\"\"\"\n        if not data:\n            raise EmptyDataError(\"No data was returned for the given symbols.\")\n        symbols = query.symbol.split(\",\")\n        return [\n            FmpHistoricalMarketCapData.model_validate(d)\n            for d in sorted(\n                data,\n                key=lambda x: (\n                    x.get(\"date\", len(symbols)),\n                    -(x.get(\"marketCap\", 0) or 0),\n                ),\n            )\n        ]\n","sourceCodeStart":97,"sourceCodeEnd":127,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fmp/openbb_fmp/models/historical_market_cap.py#L97-L127","documentation":"Error \"No data was returned for the given symbols.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fmp/openbb_fmp/models/historical_market_cap.py:115 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the symbols are valid tickers supported by FMP.","Widen the date range; market cap history may not exist for recent listings.","Check your FMP API key and subscription level."],"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"}