Open jjjjeeffff opened 1 week ago
Using AddRemoteFile gives an invalid_auth error when used with a token with proper permissions.
AddRemoteFile
invalid_auth
Should add the remote file.
Create a new app, give appropriate permissions, attempt to call AddRemoteFile.
...
The fix for this is to remove this line: https://github.com/slack-go/slack/blob/master/remotefiles.go#L114
What happened
Using
AddRemoteFile
gives aninvalid_auth
error when used with a token with proper permissions.Expected behavior
Should add the remote file.
Steps to reproduce
Create a new app, give appropriate permissions, attempt to call
AddRemoteFile
.reproducible code
...
manifest.yaml
...
Versions
The fix for this is to remove this line: https://github.com/slack-go/slack/blob/master/remotefiles.go#L114