Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid_arguments response when deleting messages #86

Open
budikpet opened this issue Feb 9, 2020 · 1 comment
Open

invalid_arguments response when deleting messages #86

budikpet opened this issue Feb 9, 2020 · 1 comment

Comments

@budikpet
Copy link

budikpet commented Feb 9, 2020

Problem:

Channel messages are not being deleted when the script is performed. Results in invalid_arguments error.

Solution:

Slack chat.delete usually requires argument as_user=True.

@snwfdhmp
Copy link

snwfdhmp commented May 5, 2020

I fixed this by adding --as_user at the end of the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants