【问题标题】:Cannot verify Line bot Webhook无法验证 Line bot Webhook
【发布时间】:2021-06-30 16:24:30
【问题描述】:

我尝试基于此站点制作 LINE bot: https://www.casleyconsulting.co.jp/blog/engineer/3028/

当我按下验证按钮时出现错误。

The webhook returned an HTTP status code other than 200.(503 Service Unavailable)

Confirm that your bot server returns status code 200 in response to the HTTP POST request sent from the LINE Platform. For more information, see Response in the Messaging API Reference.

我不知道如何解决这个问题。

【问题讨论】:

    标签: heroku bots webhooks line-api


    【解决方案1】:

    首先,你在 Line Developers 网站上放了什么链接?你可能忘记了最后的/callback...

    否则,您是否尝试过发送消息而不进行验证?

    最后一个问题:这个命令是你写的吗?

    heroku git:remote -a {HEROKU_APP_NAME}
    

    如果您在git add . 命令之前没有尝试过。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-16
      • 1970-01-01
      • 2020-05-25
      • 1970-01-01
      • 1970-01-01
      • 2018-07-20
      • 2020-01-30
      • 1970-01-01
      相关资源
      最近更新 更多