token parameter in apps.event.authorizations.list method call results in invalid_auth error #1498
Closed
1 of 6 tasks
Labels
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
pkg:web-api
applies to `@slack/web-api`
Milestone
If you pass an app-level token to
WebClient
'sapps.event.authorizations.list
method call, it results in invalid_auth error code. A workaround is to pass the token toWebClient
constructor instead.This fails with invalid_auth error:
This following works:
This behavior should be improved.
Packages:
Select all that apply:
@slack/web-api
@slack/rtm-api
@slack/webhooks
@slack/oauth
@slack/socket-mode
Reproducible in:
The Slack SDK version
any
Node.js runtime version
any
OS info
any
The text was updated successfully, but these errors were encountered: