{"record":{"id":"f003d7efa458834f","repo":"OpenBB-finance/OpenBB","slug":"no-data-was-found-for-the-given-symbols","errorCode":null,"errorMessage":"No data was found for the given symbols.","messagePattern":"No data was found for the given symbols\\.","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fmp/openbb_fmp/models/etf_equity_exposure.py","lineNumber":82,"sourceCode":"        from openbb_fmp.utils.helpers import get_data\n\n        api_key = credentials.get(\"fmp_api_key\") if credentials else \"\"\n        symbols = query.symbol.split(\",\")\n        results: list[dict] = []\n\n        async def get_one(symbol):\n            \"\"\"Get one symbol.\"\"\"\n            url = f\"https://financialmodelingprep.com/stable/etf/asset-exposure?symbol={symbol}&apikey={api_key}\"\n            response = await get_data(url, **kwargs)\n            if not response:\n                warnings.warn(f\"No results found for {symbol}.\")\n            if response:\n                results.extend(response)\n\n        await asyncio.gather(*[get_one(symbol) for symbol in symbols])\n\n        if not results:\n            raise EmptyDataError(\"No data was found for the given symbols.\")\n\n        return results\n\n    @staticmethod\n    def transform_data(\n        query: FMPEtfEquityExposureQueryParams,\n        data: list[dict],\n        **kwargs: Any,\n    ) -> list[FMPEtfEquityExposureData]:\n        \"\"\"Return the transformed data.\"\"\"\n        return [\n            FMPEtfEquityExposureData.model_validate(d)\n            for d in sorted(data, key=lambda x: x[\"marketValue\"], reverse=True)\n        ]\n","sourceCodeStart":64,"sourceCodeEnd":97,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fmp/openbb_fmp/models/etf_equity_exposure.py#L64-L97","documentation":"Error \"No data was found for the given symbols.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fmp/openbb_fmp/models/etf_equity_exposure.py:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the ETF symbols are correct and supported by FMP.","Check that the FMP API key is valid and has access to the ETF equity exposure endpoint.","Try different symbols or a later date; the endpoint may have no coverage for the requested funds."],"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"}