エラー時のステータスコードは何が返されているか確認できますか?
https://developers.line.biz/ja/reference/messaging-api/#status-codes
lineのグループチャットにメッセージを送信したい
特定のグループでのみ,送信できない 詳細↓ グループA(groupId = "aaa")では, line_bot_api.push_message(groupId,TextSendMessage(text=replay_message)) でメッセージを送信できますが, グループB(groupId = "bbb")では同様のコードを使用してもエラーとなる.
ボットはA,Bどちらのグループにも所属しています.
エラーコード↓ 2020-10-14T15:05:12.275557+00:00 app[web.1]: File "/app/app.py", line 260, in handle_message 2020-10-14T15:05:12.275557+00:00 app[web.1]: groupId, TextSendMessage(text=replay_message)
line_bot_api.push_message(groupId,TextSendMessage(text=f"{replay_message}"))
groupIdをベタ打ち→改善せず text をベタ打ちにする→改善せず
Python3.6 flask heroku グループAの人数→3 グループAの作成日→1ヶ月前 グループBの人数→81 グループBの作成日→3〜5年ほど前
エラー時のステータスコードは何が返されているか確認できますか?
https://developers.line.biz/ja/reference/messaging-api/#status-codes
Similar posts