little more information…
When I try the install feature using the “slack button” at https://api.slack.com/docs/slack-button, I get the following error (made the error a little more descriptive so I know where it comes from). Note - it properly redirects me to the error.html…
2017-09-13 08:04:21.329 (-07:00) d2669844-9894-11e7-a275-41b194c286cd [Error: SlackAPIError generated by your requestToken function]
END RequestId: d2669844-9894-11e7-a275-41b194c286cd
REPORT RequestId: d2669844-9894-11e7-a275-41b194c286cd Duration: 258.70 ms Billed Duration: 300 ms Memory Size: 1024 MBMax Memory Used: 23 MB
However, when I run it directly from the command line…
MacBook-Pro:serverless-chatbot hckia$ sls invoke -f install
{
“statusCode”: 302,
“headers”: {
“Location”: “https://s3-us-west-2.amazonaws.com/forex-dev-serverlessdeploymentbucket-o150tudg9vb9/success.html”
}
}
Everything works out fine.
START RequestId: effcb7a5-98a2-11e7-8fbf-a1614258a0d9 Version: $LATEST
2017-09-13 09:45:23.966 (-07:00) effcb7a5-98a2-11e7-8fbf-a1614258a0d9 Requesting token with null
END RequestId: effcb7a5-98a2-11e7-8fbf-a1614258a0d9
REPORT RequestId: effcb7a5-98a2-11e7-8fbf-a1614258a0d9 Duration: 4.13 ms Billed Duration: 100 ms Memory Size: 1024 MBMax Memory Used: 22 MB