{"record":{"id":"79db270ee338e1d0","repo":"OpenBB-finance/OpenBB","slug":"only-one-table-can-be-requested-at-a-time-got-t","errorCode":null,"errorMessage":"Only one table can be requested at a time. Got: {tables}","messagePattern":"Only one table can be requested at a time\\. Got: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py","lineNumber":371,"sourceCode":"                    hierarchy_ids = {h.get(\"id\") for h in hierarchies}\n                    if identifier in hierarchy_ids:\n                        is_table = True\n                except Exception:  # noqa\n                    pass  # If we can't check, assume it's an indicator\n\n            if is_table:\n                tables.append(sym)\n            else:\n                indicators.append((dataflow, identifier))\n\n        if tables and indicators:\n            raise ValueError(\n                \"Cannot mix tables and indicators in the same request. \"\n                f\"Got tables: {tables} and indicators: {[f'{d}::{c}' for d, c in indicators]}\"\n            )\n\n        if len(tables) > 1:\n            raise ValueError(\n                f\"Only one table can be requested at a time. Got: {tables}\"\n            )\n\n        if tables:\n            self._is_table = True\n            parts = tables[0].split(\"::\", 1)\n            self._dataflow = parts[0].upper()\n            self._table_id = parts[1]\n        else:\n            self._is_table = False\n            indicators_by_df: dict[str, list[str]] = {}\n\n            for dataflow, code in indicators:\n                if dataflow not in indicators_by_df:\n                    indicators_by_df[dataflow] = []\n\n                indicators_by_df[dataflow].append(code)\n","sourceCodeStart":353,"sourceCodeEnd":389,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py#L353-L389","documentation":"Error \"Only one table can be requested at a time. Got: {tables}\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/imf/openbb_imf/models/economic_indicators.py:371 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Request only one table per call.","Split multiple table requests into separate calls."],"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"}