【问题标题】:Slack slash command can't hit my aws lambda endpointSlack 斜杠命令无法命中我的 aws lambda 端点
【发布时间】:2019-02-25 00:21:50
【问题描述】:

我设置了一个最基本的 aws lambda 斜杠命令处理程序。当我尝试在 slack 中使用斜杠命令时。 Slack 以错误 Darn - that slash command didn't work (error message: '400_client_error'). Manage the command at [name of my slash command] 响应。在此之后,我查看 cloudwatch 日志以查看发生了什么错误并且没有任何松弛命令的痕迹。

我尝试使用 postman 访问相同的端点,并且一切正常(我什至在 cloudwatch 中看到了日志)。

【问题讨论】:

    标签: aws-lambda slack


    【解决方案1】:

    我花了一些时间进行诊断,但问题与 API Gateway 应用的转换有关。 API Gateway 尝试应用的转换将失败,因此我会收到 400 错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-06-22
      • 1970-01-01
      • 2021-03-09
      • 1970-01-01
      • 1970-01-01
      • 2017-02-11
      相关资源
      最近更新 更多