{"record":{"id":"d0e9f0e29f22e46c","repo":"infiniflow/ragflow","slug":"nothing-to-index-please-specify-at-least-one-of-t","errorCode":null,"errorMessage":"Nothing to index. Please specify at least one of the following: include_shared_drives, include_my_drives, include_files_shared_with_me, shared_folder_urls, or my_drive_emails","messagePattern":"Nothing to index\\. Please specify at least one of the following: include_shared_drives, include_my_drives, include_files_shared_with_me, shared_folder_urls, or my_drive_emails","errorType":"validation","errorClass":"ConnectorValidationError","httpStatus":null,"severity":"error","filePath":"common/data_source/google_drive/connector.py","lineNumber":135,"sourceCode":"        include_files_shared_with_me: bool = False,\n        shared_drive_urls: str | None = None,\n        my_drive_emails: str | None = None,\n        shared_folder_urls: str | None = None,\n        specific_user_emails: str | None = None,\n        batch_size: int = INDEX_BATCH_SIZE,\n        time_buffer_seconds: int = GOOGLE_DRIVE_SYNC_TIME_BUFFER_SECONDS,\n    ) -> None:\n        if not any(\n            (\n                include_shared_drives,\n                include_my_drives,\n                include_files_shared_with_me,\n                shared_folder_urls,\n                my_drive_emails,\n                shared_drive_urls,\n            )\n        ):\n            raise ConnectorValidationError(\n                \"Nothing to index. Please specify at least one of the following: include_shared_drives, include_my_drives, include_files_shared_with_me, shared_folder_urls, or my_drive_emails\"\n            )\n\n        specific_requests_made = False\n        if bool(shared_drive_urls) or bool(my_drive_emails) or bool(shared_folder_urls):\n            specific_requests_made = True\n        self.specific_requests_made = specific_requests_made\n\n        # NOTE: potentially modified in load_credentials if using service account\n        self.include_files_shared_with_me = False if specific_requests_made else include_files_shared_with_me\n        self.include_my_drives = False if specific_requests_made else include_my_drives\n        self.include_shared_drives = False if specific_requests_made else include_shared_drives\n\n        shared_drive_url_list = _extract_str_list_from_comma_str(shared_drive_urls)\n        self._requested_shared_drive_ids = set(_extract_ids_from_urls(shared_drive_url_list))\n\n        self._requested_my_drive_emails = set(_extract_str_list_from_comma_str(my_drive_emails))\n","sourceCodeStart":117,"sourceCodeEnd":153,"githubUrl":"https://github.com/infiniflow/ragflow/blob/554fb1133ac3861732235ad9c377eb5e0a770665/common/data_source/google_drive/connector.py#L117-L153","documentation":"Error \"Nothing to index. Please specify at least one of the following: include_shared_drives, include_my_drives, include_files_shared_with_me, shared_folder_urls, or my_drive_emails\" thrown in infiniflow/ragflow.","triggerScenarios":"Thrown at common/data_source/google_drive/connector.py:135 when the library encounters an invalid state.","commonSituations":"The Google Drive connector is saved with all indexing scopes disabled; enabling at least one scope prevents this error.","solutions":["Enable at least one indexing scope: shared drives, My Drive, files shared with me, folder URLs, or drive emails."],"exampleFix":"settings = {'include_my_drives': True}","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"554fb1133ac3861732235ad9c377eb5e0a770665","analyzedAt":"2026-08-15T09:20:16.380Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}