-
Notifications
You must be signed in to change notification settings - Fork 99
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
Error on startup in mount_sidebar #21
Comments
It seems like the Slack API has denied the request. This happens often when the same endpoint is requested too many times (Slack API has rating limits). I'll be working on a retry-attempt for requests to handle this kind of issue without breaking the things. Thanks! |
I am also getting an error on startup, maybe it is related.
|
for me also not working. same message. |
I will make a PR for this with better error messages |
Also having issues on startup:
|
does not it make sense to just ask for all permissions in front? these
error messages come because of missing permissions
…On Wed, Aug 15, 2018 at 5:19 PM Cory Shaw ***@***.***> wrote:
Also having issues on startup:
'channels'
File "./app.py", line 126, in component_did_mount
yield from self.mount_sidebar(executor)
File "./app.py", line 135, in mount_sidebar
loop.run_in_executor(executor, self.store.load_users)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/coryshaw/Documents/Code/sclack/sclack/store.py", line 86, in load_channels)['channels']
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ4OMy_a2DWRpX63ac7AZK1cXWjSJS2Hks5uRDvmgaJpZM4VzVJk>
.
|
Was able to output the response from the Slack API:
I'm using tokens generated here: https://api.slack.com/custom-integrations/legacy-tokens And my .sclack file looks like: {
"workspaces": {
"default": "xoxp-xxxx-xxxx-xxxx",
"another": "xoxp-xxxx-xxxx-xxxx"
}
} Do some Slack workspaces have the ability to disable legacy tokens? |
you need to create apps then you get the tokens
…On Wed, Aug 15, 2018 at 5:34 PM Cory Shaw ***@***.***> wrote:
Was able to output the response from the Slack API:
{'ok': False, 'error': 'not_allowed_token_type', ...}
I'm using tokens generated here:
https://api.slack.com/custom-integrations/legacy-tokens
And my .sclack file looks like:
{
"workspaces": {
"default": "xoxp-xxxx-xxxx-xxxx",
"another": "xoxp-xxxx-xxxx-xxxx"
}
}
Do some Slack workspaces have the ability to disable legacy tokens?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ4OMyS_UVvihqMEGbPaK2tnsC9UCYwIks5uRD-MgaJpZM4VzVJk>
.
|
Here's the error:
The text was updated successfully, but these errors were encountered: