Invalid auth
Closed this issue · 3 comments
Stvad commented
Hi! I'm trying to use this. I've set the token (tried both .env and the env variable directly), but I'm getting the following error:
> python3 exporter.py --lu
I encountered an error: {'ok': False, 'error': 'invalid_auth'}
EdgeToLife commented
Hi! I'm trying to use this. I've set the token (tried both .env and the env variable directly), but I'm getting the following error:
> python3 exporter.py --lu I encountered an error: {'ok': False, 'error': 'invalid_auth'}
same
sebseager commented
Looks like the Slack API has changed, and OAuth2.0 tokens now need to be passed in the request header, not via the token
param. Slack docs aren't very helpful, but this should be an easy fix.