{"record":{"id":"d16f15cc62154d4c","repo":"BerriAI/litellm","slug":"filesystem-self-azure-storage-file-system-does-n","errorCode":null,"errorMessage":"Filesystem {self.azure_storage_file_system} does not exist","messagePattern":"Filesystem (.+?) does not exist","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/llms/base_llm/files/azure_blob_storage_backend.py","lineNumber":262,"sourceCode":"            if self.azure_storage_account_key:\n                # Use Azure SDK (reuse logger's service client)\n                return await self._download_file_with_account_key(file_path)\n            else:\n                # Use REST API (reuse logger's token management)\n                return await self._download_file_with_azure_ad(file_path)\n\n        except Exception as e:\n            verbose_logger.exception(\"Error downloading file from Azure Blob Storage: %s\", e)\n            raise\n\n    async def _download_file_with_account_key(self, file_path: str) -> bytes:\n        \"\"\"Download file using Azure SDK with account key.\"\"\"\n        # Reuse the logger's service client method\n        service_client: Final = await self.get_service_client()\n        file_system_client: Final = service_client.get_file_system_client(file_system=self.azure_storage_file_system)\n        # Ensure filesystem exists (should already exist, but check for safety)\n        if not await file_system_client.exists():\n            raise ValueError(f\"Filesystem {self.azure_storage_file_system} does not exist\")\n        file_client: Final = file_system_client.get_file_client(file_path)\n        # Download file\n        download_response: Final = await file_client.download_file()\n        file_content: Final = await download_response.readall()\n        return file_content\n\n    async def _download_file_with_azure_ad(self, file_path: str) -> bytes:\n        \"\"\"Download file using REST API with Azure AD token.\"\"\"\n        # Reuse the logger's token management\n        await self.set_valid_azure_ad_token()\n\n        from litellm.constants import AZURE_STORAGE_MSFT_VERSION\n        from litellm.llms.custom_httpx.http_handler import (\n            get_async_httpx_client,\n            httpxSpecialProvider,\n        )\n\n        async_client: Final = get_async_httpx_client(llm_provider=httpxSpecialProvider.LoggingCallback)","sourceCodeStart":244,"sourceCodeEnd":280,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/base_llm/files/azure_blob_storage_backend.py#L244-L280","documentation":"Error \"Filesystem {self.azure_storage_file_system} does not exist\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/llms/base_llm/files/azure_blob_storage_backend.py:262 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Create the filesystem/container in Azure Blob Storage, or correct the configured file system name."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}