-
Notifications
You must be signed in to change notification settings - Fork 13
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
Slack adapter and hubot-apiai: sessionId Parameter #3
Comments
Thanks for reporting this @dakky ! I am not sure what's wrong. If you find out, a pull request would be great! |
@ojacques I assume flowdock assigns |
@divyangjp I don't use Slack, so, I can't tell. However, if you find a way to get this right, that'd be really nice... |
@adriantan08 did the change work for you? i mean are u able to integrate with slack? |
Hello:
when using the slackadapter and api.ai i get the following error:
[Thu Oct 05 2017 12:10:00 GMT+0200 (CEST)] DEBUG Calling API.AI with 'hello' and session undefined [...] statusCode: 400, responseBody: '{\n "id": "xxx-xxxx-xxxx",\n "timestamp": "2017-10-05T10:09:12.366Z",\n "lang": "en",\n "status": {\n "code": 400,\n "errorType": "bad_request",\n "errorDetails": "Required \'sessionId\' parameter is empty."\n }\n}', name: 'ServerError', message: 'Wrong response status code.' }
when modifing the following line:
hubot-apiai/src/apiai.coffee
Line 36 in 0237d1d
to
= "slackx"
and forcing the fallback mechanism, it works fine. Any idea whats wrong there?The text was updated successfully, but these errors were encountered: