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 Jan 2, 2025
1 parent dda3e21 commit 9050769
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 9050769

Please sign in to comment.