slack-emoji-upload icon indicating copy to clipboard operation
slack-emoji-upload copied to clipboard

invalid_auth when trying to use both the token and cookie

Open findchris opened this issue 2 years ago • 2 comments

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?

findchris avatar Jan 21 '23 15:01 findchris

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

lllleonnnn avatar Sep 14 '23 20:09 lllleonnnn

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.

orvn avatar Apr 30 '24 19:04 orvn