Skip to content

Commit 966ec8a

Browse files
committed
fix(slack): narrow set_status missing_scope hint to assistant:write
A user hitting missing_scope on set_status already has chat:write (long granted); the scope they actually need is assistant:write, which is also what set_title/set_suggested_prompts point to. Narrow the hint to assistant:write for accurate, consistent guidance.
1 parent 5d1fa8b commit 966ec8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/tools/slack/set_status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const slackSetStatusTool: ToolConfig<SlackSetStatusParams, SlackSetStatus
108108
if (!data.ok) {
109109
if (data.error === 'missing_scope') {
110110
throw new Error(
111-
'Missing required permissions. Please reconnect your Slack account with the necessary scopes (chat:write or assistant:write).'
111+
'Missing required permissions. Please reconnect your Slack account with the necessary scopes (assistant:write).'
112112
)
113113
}
114114
if (data.error === 'invalid_auth') {

0 commit comments

Comments
 (0)