Slackadaisical icon indicating copy to clipboard operation
Slackadaisical copied to clipboard

Error launching the app

Open nkov opened this issue 6 years ago • 4 comments

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.

nkov avatar Oct 25 '17 16:10 nkov

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

bkanber avatar Oct 26 '17 15:10 bkanber

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.

ranmeirman avatar Oct 28 '17 04:10 ranmeirman

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

nkov avatar Nov 06 '17 19:11 nkov

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

tom-i avatar Jun 29 '18 12:06 tom-i