{"record":{"id":"45ea58fe99d72407","repo":"OpenBB-finance/OpenBB","slug":"empty-csv-file","errorCode":null,"errorMessage":"Empty CSV file.","messagePattern":"Empty CSV file\\.","errorType":"exception","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/intrinio/openbb_intrinio/models/market_snapshots.py","lineNumber":195,"sourceCode":"            raise OpenBBError(\"No snapshots found.\")\n\n        results: list = []\n\n        async def response_callback(response, _):\n            \"\"\"Response Callback.\"\"\"\n            return await response.read()\n\n        async def get_csv(url):\n            \"\"\"Return the CSV data.\"\"\"\n            response = await amake_request(\n                url, response_callback=response_callback, **kwargs\n            )\n            df = DataFrame()\n            if isinstance(response, bytes):\n                file = gzip.decompress(response)\n                df = read_csv(BytesIO(file))\n            if df.empty:\n                raise OpenBBError(\"Empty CSV file.\")\n            df.columns = df.columns.str.lower().str.replace(\" \", \"_\")\n\n            df = (\n                df.dropna(how=\"all\", axis=1)\n                .dropna(subset=[\"trade_price\", \"last_trade_timestamp\", \"symbol\"])\n                .sort_values(\"last_trade_timestamp\", ascending=False)\n            )[\n                [\n                    \"symbol\",\n                    \"trade_price\",\n                    \"trade_size\",\n                    \"total_trade_volume\",\n                    \"bid_size\",\n                    \"bid_price\",\n                    \"ask_price\",\n                    \"ask_size\",\n                    \"last_trade_timestamp\",\n                    \"last_bid_timestamp\",","sourceCodeStart":177,"sourceCodeEnd":213,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/intrinio/openbb_intrinio/models/market_snapshots.py#L177-L213","documentation":"Error \"Empty CSV file.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/intrinio/openbb_intrinio/models/market_snapshots.py:195 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the request; the CSV download may have failed.","Adjust the query parameters; the selection may contain no rows.","Verify your Intrinio subscription includes the requested data."],"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-15T17:31:12.345Z"}