{"record":{"id":"44f37169465e9d4c","repo":"OpenBB-finance/OpenBB","slug":"no-indicators-found-for-the-given-query","errorCode":null,"errorMessage":"No indicators found for the given query.","messagePattern":"No indicators found for the given query\\.","errorType":"exception","errorClass":"EmptyDataError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/imf/openbb_imf/models/available_indicators.py","lineNumber":161,"sourceCode":"\n        if isinstance(query.keywords, str):\n            keywords = query.keywords.split(\",\")\n        elif isinstance(query.keywords, list):\n            keywords = query.keywords\n        else:\n            keywords = None\n\n        try:\n            results = metadata.search_indicators(\n                query=query.query.replace(\",\", \", \") if query.query else \"\",\n                dataflows=dataflows,\n                keywords=keywords,\n            )\n        except Exception as e:  # pylint: disable=broad-except\n            raise OpenBBError(e) from e\n\n        if not results:\n            raise EmptyDataError(\"No indicators found for the given query.\")\n\n        return results\n\n    @staticmethod\n    def transform_data(\n        query: ImfAvailableIndicatorsQueryParams,\n        data: list[dict],\n        **kwargs: Any,\n    ) -> list[ImfAvailableIndicatorsData]:\n        \"\"\"Transform the data.\"\"\"\n        results = []\n        for d in data:\n            # Build the ready-to-use symbol: dataflow_id::indicator_code\n            dataflow_id = d.get(\"dataflow_id\", \"\")\n            indicator_code = d.get(\"indicator\", \"\")\n            d[\"symbol\"] = f\"{dataflow_id}::{indicator_code}\"\n            results.append(ImfAvailableIndicatorsData.model_validate(d))\n        return results","sourceCodeStart":143,"sourceCodeEnd":179,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/imf/openbb_imf/models/available_indicators.py#L143-L179","documentation":"Error \"No indicators found for the given query.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/imf/openbb_imf/models/available_indicators.py:161 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Adjust the query: broaden keywords or specify different dataflows.","Verify the dataflow IDs are correct with the IMF metadata endpoints."],"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"}