{"record":{"id":"8355400b4a16d773","repo":"BerriAI/litellm","slug":"bedrockfilesconfig-does-not-support-file-deletion","errorCode":null,"errorMessage":"BedrockFilesConfig does not support file deletion","messagePattern":"BedrockFilesConfig does not support file deletion","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/bedrock/files/transformation.py","lineNumber":1133,"sourceCode":"        litellm_params: dict,\n    ) -> tuple[str, dict]:\n        raise NotImplementedError(\"BedrockFilesConfig does not support file retrieval\")\n\n    def transform_retrieve_file_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        litellm_params: dict,\n    ) -> OpenAIFileObject:\n        raise NotImplementedError(\"BedrockFilesConfig does not support file retrieval\")\n\n    def transform_delete_file_request(\n        self,\n        file_id: str,\n        optional_params: dict,\n        litellm_params: dict,\n    ) -> tuple[str, dict]:\n        raise NotImplementedError(\"BedrockFilesConfig does not support file deletion\")\n\n    def transform_delete_file_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        litellm_params: dict,\n    ) -> FileDeleted:\n        raise NotImplementedError(\"BedrockFilesConfig does not support file deletion\")\n\n    def transform_list_files_request(\n        self,\n        purpose: str | None,\n        optional_params: dict,\n        litellm_params: dict,\n    ) -> tuple[str, dict]:\n        raise NotImplementedError(\"BedrockFilesConfig does not support file listing\")\n\n    def transform_list_files_response(","sourceCodeStart":1115,"sourceCodeEnd":1151,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/llms/bedrock/files/transformation.py#L1115-L1151","documentation":"Error \"BedrockFilesConfig does not support file deletion\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/llms/bedrock/files/transformation.py:1133 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Bedrock files do not support deletion; delete the object in S3."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d","analyzedAt":"2026-08-15T07:12:03.035Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}