diff --git a/connectors/src/connectors/slack/lib/slack_client.ts b/connectors/src/connectors/slack/lib/slack_client.ts index 439037115e62..2389b6e9a800 100644 --- a/connectors/src/connectors/slack/lib/slack_client.ts +++ b/connectors/src/connectors/slack/lib/slack_client.ts @@ -98,7 +98,7 @@ export async function getSlackClient( if (slackError.code === ErrorCode.PlatformError) { const platformError = e as WebAPIPlatformError; if ( - ["account_inactive", "invalid_auth"].includes( + ["account_inactive", "invalid_auth", "missing_scope"].includes( platformError.data.error ) ) {