Skip to content

Commit

Permalink
slack: consider missing_scopes as an auth error (#9687)
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu authored and overmode committed Jan 3, 2025
1 parent 0c37e95 commit 98732dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/slack/lib/slack_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
) {
Expand Down

0 comments on commit 98732dd

Please sign in to comment.