Skip to content

Commit 7dd6a08

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2024/11/15
1 parent 7554049 commit 7dd6a08

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

methods/admin/admin.apps.requests.cancel.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@
3535
"request_already_resolved": "The app request has already been resolved.",
3636
"team_not_found": "Returned when team id is not found.",
3737
"too_many_teams_provided": "Please provide only team_id OR enterprise_id.",
38+
"restricted_action": "User is not authorized to perform this action.",
39+
"invalid_auth": "Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.",
3840
"access_denied": "Access to a resource specified in the request is denied.",
3941
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",
4042
"deprecated_endpoint": "The endpoint has been deprecated.",
4143
"ekm_access_denied": "Administrators have suspended the ability to post a message.",
4244
"enterprise_is_restricted": "The method cannot be called from an Enterprise.",
43-
"invalid_auth": "Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.",
4445
"is_bot": "This method cannot be called by a legacy bot.",
4546
"method_deprecated": "The method has been deprecated.",
4647
"missing_scope": "The token used is not granted the specific scope permissions required to complete this request.",

methods/canvases/canvases.access.set.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@
3333
]
3434
},
3535
"errors": {
36-
"canvas_not_found": "The canvas you wish to update permissions for is not available.",
37-
"restricted_action": "User does not have permission to perform this action.",
3836
"canvas_disabled_user_team": "Canvas is disabled on user's team.",
39-
"invalid_parameters": "One of user_ids and channel_ids must be defined.",
37+
"canvas_not_found": "The canvas you wish to update permissions for is not available.",
4038
"channel_not_found": "A channel could not be found.",
39+
"failed_to_update_user_ids": "Failed to update the specified user_ids.",
40+
"invalid_parameters": "One of user_ids and channel_ids must be defined.",
41+
"restricted_action": "User does not have permission to perform this action.",
4142
"user_not_found": "A user could not be found.",
4243
"access_denied": "Access to a resource specified in the request is denied.",
4344
"account_inactive": "Authentication token is for a deleted user or workspace when using a bot token.",

methods/chat/chat.postMessage.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
"metadata_must_be_sent_from_app": "Message metadata can only be posted or updated using an app-level token.",
137137
"metadata_too_large": "Metadata exceeds size limit.",
138138
"msg_blocks_too_long": "Blocks submitted with this message are too long.",
139-
"msg_too_long": "Message text is too long.",
140139
"no_text": "No message text provided.",
141140
"not_in_channel": "Cannot post user messages to a channel they are not in.",
142141
"rate_limited": "Application has posted too many messages, read the Rate Limit documentation for more information.",

0 commit comments

Comments
 (0)