{"record":{"id":"b25fffecb43c4845","repo":"OpenBB-finance/OpenBB","slug":"no-data-returned-for-the-given-symbols-b25fff","errorCode":null,"errorMessage":"No data returned for the given symbols.","messagePattern":"No data returned for the given symbols\\.","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fmp/openbb_fmp/models/price_target.py","lineNumber":96,"sourceCode":"\n        async def get_one(symbol):\n            \"\"\"Get data for one symbol.\"\"\"\n            urls = [\n                f\"{base_url}symbol={symbol}&page={page}&limit={limit}&apikey={api_key}\"\n                for page in range(pages)\n            ]\n            result = await get_data_urls(urls, **kwargs)\n\n            if not result or len(result) == 0:\n                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 returned for the given symbols.\")\n\n        return sorted(\n            results, key=lambda x: (x[\"publishedDate\"], x[\"symbol\"]), reverse=True\n        )\n\n    @staticmethod\n    def transform_data(\n        query: FMPPriceTargetQueryParams, data: list[dict], **kwargs: Any\n    ) -> list[FMPPriceTargetData]:\n        \"\"\"Return the transformed data.\"\"\"\n        return [FMPPriceTargetData.model_validate(item) for item in data]\n","sourceCodeStart":78,"sourceCodeEnd":108,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fmp/openbb_fmp/models/price_target.py#L78-L108","documentation":"Error \"No data returned for the given symbols.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fmp/openbb_fmp/models/price_target.py:96 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the symbols are valid tickers with analyst coverage on FMP.","Check that your FMP subscription includes price target data.","Try symbols with active analyst coverage; many small caps have none."],"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"}