I’m taking an acloud.guru course on the serverless framework. I left a message on the portion I’m having trouble with, but thought i’d stop being so shy and ask for help in other places! Let me know if this wasn’t appropriate.
For those who might be familiar with the course - ://acloud.guru/course/serverless-chatbot/dashboard - The part i’m getting stuck on is the first installation function, which generates a generic slack API error (please let me know if the information provided is sensitive, I don’t believe it is)…
I go to create a slack button > add the slack button > selecting forex > checkmarking bot and unchecking everthing else > clicking add to slack my error.html page appears…
checking the error logs, I see the following…
START RequestId: 1742f3fb-980d-11e7-88e2-55c87ca16c93 Version: $LATEST
2017-09-12 15:52:45.388 (-07:00) 1742f3fb-980d-11e7-88e2-55c87ca16c93 Requesting token with 239594296340.239650116689.8104c5b5d591bbb8bfd30b909526fa7a67435188a817fd629a1332b3d7294d5d
2017-09-12 15:52:45.389 (-07:00) 1742f3fb-980d-11e7-88e2-55c87ca16c93 Fetching ://slack.com/api/oauth.access?clientid=239594296340.240813514535&clientsecret=&code=239594296340.239650116689.8104c5b5d591bbb8bfd30b909526fa7a67435188a817fd629a1332b3d7294d5d
2017-09-12 15:52:45.566 (-07:00) 1742f3fb-980d-11e7-88e2-55c87ca16c93 [Error: SlackAPIError]
END RequestId: 1742f3fb-980d-11e7-88e2-55c87ca16c93
REPORT RequestId: 1742f3fb-980d-11e7-88e2-55c87ca16c93 Duration: 182.48 ms Billed Duration: 200 ms Memory Size: 1024 MBMax Memory Used: 22 MB
The client ID is correct, I have no idea what’s going on with the secret code, but it contains part of the client ID…
I found a way to get a tad more by taking the http url and entering into my browser.
The original error shared in my post was generating the following json…
I’ve seem to made it past that, and now the error generates the following json error…
I tried regenerating anew secret key, updating server.yml, and redeploying, but to no avail. Still get the same non descriptive API error.
I realize this is probably more of a slack issue, but since the topic of these forums regard serverless apps I wanted to know if anyone has any insight on how I could troubleshoot this further? If more details are needed, I can provide those as well!
I’m quite stumped here, any ideas?