Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/sim/app/api/tools/slack/read-messages/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
{
success: false,
error:
'Missing required permissions. Please reconnect your Slack account with the necessary scopes (channels:history, groups:history, im:history).',
'Missing required permissions. Reconnect your Slack account to grant channel history access (channels:history, groups:history). Reading direct message history is not supported with the Sim bot.',
},
{ status: 400 }
)
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/lib/oauth/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
'chat:write',
'chat:write.public',
'im:write',
'im:history',
'im:read',
'users:read',
// TODO: Add 'users:read.email' once Slack app review is approved
Expand All @@ -712,6 +711,7 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
'canvases:read',
'canvases:write',
'reactions:write',
'reactions:read',
],
},
},
Expand Down
Loading