Q&A

Cant receive webhook event

Pre condition, Condition to reproduce

I've been using LINE Messaging API for awhile and suddenly on 1st May 2023 it starts to cannot receive message but still can send push message.

Issue/ Error Message details

So i tried to re-verify my webhook inside the LINE Dev Console and it says

{"status":"UNAVAILABLE","message":"error.webhook_remote_error"}

with popup An error occurred when sending the webhook event object

Accompanying respective source code

Route::post('line', function(Request $request) {
    return response()->json([], 200);
});

I'm using php laravel. this is the webhook verify event receiver.

Resolution Tried

I've tried to re-verify webhook on other urls but still same error message and same popup. Tried to send empty request with postman and got expected result which is empy json with status code 200.

Reference information (Version / Platform/ environment)

I'm using php laravel 8.0

This issue affecting my business, a lot. Would love to get some help, Please^^

  • 0
  • 1
  • 127
  • twitter facebook

how about calling POST https://api.line.me/v2/bot/channel/webhook/test ? https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint

you can get detailed error from response.

  • 0

関連する質問

    関連する質問はありません

本当によろしいですか? question.vm