Coder Social home page Coder Social logo

Comments (10)

behconsci avatar behconsci commented on August 24, 2024 1

from sclack.

haskellcamargo avatar haskellcamargo commented on August 24, 2024

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!

from sclack.

MarcosEich avatar MarcosEich commented on August 24, 2024

I am also getting an error on startup, maybe it is related.

Traceback (most recent call last):
  File "./app.py", line 560, in <module>
    app.start()
  File "./app.py", line 62, in start
    self.urwid_loop.run()
  File "/usr/local/lib/python3.7/site-packages/urwid/main_loop.py", line 286, in run
    self._run()
  File "/usr/local/lib/python3.7/site-packages/urwid/main_loop.py", line 384, in _run
    self.event_loop.run()
  File "./app.py", line 28, in run
    self._loop.run_forever()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 523, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1722, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/local/lib/python3.7/selectors.py", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)

from sclack.

niltonvasques avatar niltonvasques commented on August 24, 2024

Same for me but with a different message:

image

from sclack.

behconsci avatar behconsci commented on August 24, 2024

for me also not working. same message.

from sclack.

behconsci avatar behconsci commented on August 24, 2024

ok it says, we need to give these scopes:

image

from sclack.

behconsci avatar behconsci commented on August 24, 2024

I will make a PR for this with better error messages

from sclack.

coryshaw1 avatar coryshaw1 commented on August 24, 2024

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']

from sclack.

behconsci avatar behconsci commented on August 24, 2024

from sclack.

coryshaw1 avatar coryshaw1 commented on August 24, 2024

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?

from sclack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.