{"record":{"id":"bb605485a01af63c","repo":"OpenBB-finance/OpenBB","slug":"could-not-determine-dataflow-from-symbol","errorCode":null,"errorMessage":"Could not determine dataflow from symbol.","messagePattern":"Could not determine dataflow from symbol\\.","errorType":"exception","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py","lineNumber":703,"sourceCode":"            for dv in query.dimension_values:\n                # Each dv should be \"DIMENSION:VALUE\"\n                if not dv or not isinstance(dv, str):\n                    continue\n                # Handle comma-separated pairs in a single string\n                pairs = [p.strip() for p in dv.split(\",\") if p.strip()]\n                for pair in pairs:\n                    if \":\" in pair:\n                        dim_id, dim_value = pair.split(\":\", 1)\n                        # Uppercase both dimension ID and value for IMF API\n                        extra_dimensions[dim_id.strip().upper()] = (\n                            dim_value.strip().upper()\n                        )\n\n        if query._is_table:\n            # Table mode: use ImfTableBuilder (single dataflow only)\n            dataflow = query._dataflow\n            if not dataflow:\n                raise OpenBBError(\"Could not determine dataflow from symbol.\")\n\n            params: dict[str, Any] = {\n                \"COUNTRY\": countries_str,\n                \"FREQUENCY\": frequency,\n            }\n\n            # Handle special dimensions for certain dataflows\n            # GFS dataflows: GFS_BS, GFS_SOO, GFS_COFOG, GFS_SFCP, GFS_SSUC, QGFS\n            if dataflow.startswith(\"GFS_\") or dataflow == \"QGFS\":\n                params[\"SECTOR\"] = \"*\"\n                params[\"GFS_GRP\"] = \"*\"\n            elif dataflow.startswith(\"FSIC\") or dataflow == \"IRFCL\":\n                params[\"SECTOR\"] = \"*\"\n            elif dataflow.startswith(\"BOP\") or dataflow == \"DIP\":\n                params[\"TYPE_OF_TRANSFORMATION\"] = \"*\"\n            elif dataflow == \"ISORA_LATEST_DATA_PUB\":\n                params[\"INDICATOR\"] = \"*\"\n","sourceCodeStart":685,"sourceCodeEnd":721,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py#L685-L721","documentation":"Error \"Could not determine dataflow from symbol.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py:703 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide the dataflow explicitly or use a symbol in 'dataflow::identifier' format.","Verify the symbol is correctly formatted."],"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"}