slack-emoji-upload
slack-emoji-upload copied to clipboard
invalid_auth when trying to use both the token and cookie
Hi there.
I've used this tool successfully in the past, but now when I try the token (xoxc-*
) and the cookie (xocd-*
), neither of them work, resulting in:
2023/01/21 07:19:38 fetching emoji list
2023/01/21 07:19:39 invalid_auth
Any ideas what's up?
I'm experiencing the same error with a raw CURL request against the emoji.list endpoint with similar authentication profiles. I cannot suss out the difference between what I am passing on the CLI vs what the endpoint tester passes: https://api.slack.com/methods/emoji.list/test
Best guess is a missing header? But haven't finished the whack-a-mole
Any luck with figuring out which headers might be causing this issue? If not, I can also go through a process of elimination. The client-side request emulator from the docs seems to have a lot of additional content.