diff --git a/web/src/app/admin/connectors/[connector]/pages/gdrive/GoogleDrivePage.tsx b/web/src/app/admin/connectors/[connector]/pages/gdrive/GoogleDrivePage.tsx index 9ff60ebc223..1c2f60869ec 100644 --- a/web/src/app/admin/connectors/[connector]/pages/gdrive/GoogleDrivePage.tsx +++ b/web/src/app/admin/connectors/[connector]/pages/gdrive/GoogleDrivePage.tsx @@ -108,7 +108,9 @@ const GDriveMain = ({}: {}) => { const googleDriveServiceAccountCredential: | Credential | undefined = credentialsData.find( - (credential) => credential.credential_json?.google_service_account_key + (credential) => + credential.credential_json?.google_service_account_key && + credential.source === "google_drive" ); const googleDriveConnectorIndexingStatuses: ConnectorIndexingStatus<