Skip to content
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 launching the app #1

Open
nkov opened this issue Oct 25, 2017 · 4 comments
Open

Error launching the app #1

nkov opened this issue Oct 25, 2017 · 4 comments

Comments

@nkov
Copy link

nkov commented Oct 25, 2017

When running $ npm run start or when the package is installed globally, I get an error:

TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at Request._callback (.../Slackadaisical/dist/SlackAPI.js:197:55)
    at Request.self.callback (.../Slackadaisical/node_modules/request/request.js:186:22)
    ...

I tried rebuilding the dist/ directory with the same error.

Using node 7.6.0 on OSX 10.12.

@bkanber
Copy link
Owner

bkanber commented Oct 26, 2017

I believe this is an issue with your Slack API token, it is unable to fetch your channels from the API.

Can you please try this API request from the browser or curl or postman and let me know if/what error you get?

https://slack.com/api/conversations.list?token={YOUR_TOKEN_HERE}&exclude_archived=true&limit=500&types=public_channel%2Cprivate_channel%2Cmpim%2Cim&pretty=1

@ranmeirman
Copy link

Getting the same error. I tried the request on postman and got:

{
    "ok": false,
    "error": "internal_error"
}

I tried re-issuing the token several times and always failed.

@nkov
Copy link
Author

nkov commented Nov 6, 2017

@bkanber I tried that and getting the same error as posted by @ranmeirman

@tom-i
Copy link

tom-i commented Jun 29, 2018

Looks that this error still hasn't been fixed yet :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants