{"record":{"id":"1bc0147cc81f1511","repo":"OpenBB-finance/OpenBB","slug":"there-were-no-results-found-for-any-of-the-given-s","errorCode":null,"errorMessage":"There were no results found for any of the given symbols. -> {symbols}","messagePattern":"There were no results found for any of the given symbols\\. -> (.+?)","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"warning","filePath":"openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py","lineNumber":112,"sourceCode":"                raise OpenBBError(e) from e\n\n            if data:\n                results.append(data)  # type: ignore\n\n        if symbols:\n            try:\n                gather_results = await asyncio.gather(\n                    *[get_one(symbol) for symbol in symbols], return_exceptions=True\n                )\n\n                for result in gather_results:\n                    if isinstance(result, UnauthorizedError):\n                        raise result\n                    if isinstance(result, OpenBBError):\n                        raise result\n\n                if not results:\n                    raise EmptyDataError(\n                        f\"There were no results found for any of the given symbols. -> {symbols}\"\n                    )\n                return results\n            except Exception as e:\n                raise OpenBBError(\n                    f\"Error in Intrinio request -> {e} -> {symbols}\"\n                ) from e\n\n        async def fetch_callback(response, session):\n            \"\"\"Use callback for pagination.\"\"\"\n            data = await response.json()\n            error = data.get(\"error\", None)\n\n            if error:\n                message = data.get(\"message\", \"\")\n                if \"api key\" in message.lower() or \"view this data\" in error.lower():\n                    raise UnauthorizedError(\n                        f\"Unauthorized Intrinio request -> {message} -> {error}\"","sourceCodeStart":94,"sourceCodeEnd":130,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py#L94-L130","documentation":"EmptyDataError raised in the per-symbol branch of the Intrinio forward P/E fetcher when asyncio.gather completed for every requested symbol but the shared results list is still empty - i.e., each symbol's response contained no usable forward_pe rows. Note this branch uses return_exceptions=True, so per-symbol failures are collected, not raised, unless they are UnauthorizedError/OpenBBError.","triggerScenarios":"equity/estimates/forward_pe(symbol='A,B,C', provider='intrinio') where every symbol returns an empty or null 'forward_pe' array (get_one only appends when data is truthy), so gather succeeds but results stays [].","commonSituations":"Batch of small-cap/OTC tickers with no forward P/E consensus; all symbols delisted or misspelled; free-tier entitlement returning empty bodies rather than errors.","solutions":["Test one symbol at a time to find which have coverage.","Verify symbols are valid and actively listed.","Fall back to another estimates provider for uncovered tickers.","If ALL symbols including AAPL return empty, check the API key entitlement for Zacks data."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":"# pre-filter batch to symbols that exist\nvalid = [s for s in symbols if quote_exists(s)]  # quote_exists via any cheap quote call\nif not valid:\n    raise ValueError('no valid symbols')","typeGuard":null,"tryCatchPattern":"from openbb_core.provider.exceptions import EmptyDataError\ntry:\n    res = obb.equity.estimates.forward_pe(symbol=','.join(syms), provider='intrinio')\nexcept EmptyDataError:\n    res = [obb.equity.estimates.forward_pe(symbol=s, provider='fmp') for s in syms]","preventionTips":["Sanity-check tickers with a quote call before estimates","Expect zero coverage on OTC/small-cap batches","Catch EmptyDataError per symbol when iterating watchlists"],"tags":["intrinio","estimates","empty-data","batch"],"backgroundTag":null,"analyzedSha":"3e071fcc2cd9f891cac6040ae60296dba76dab46","analyzedAt":"2026-08-14T23:40:48.960Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}