Test LINE Webhook Endpoint
line_test_webhookPing LINE Official Account webhook URL from LINE servers and report HTTP status code, latency, and failure reasons like timeout or signature verification errors to debug bot issues.
Instructions
Ping the OA's webhook URL from LINE servers and report HTTP status + latency. LINE checks that the endpoint returns 200 within their timeout AND that signature verification works (when secret is configured).
Args:
override_endpoint: optional public HTTPS URL to test instead of the configured one.
oa: optional OA id.
Returns: { success: boolean, status_code: number, latency_ms?: number, reason: string, // LINE's human-readable result detail?: string, configured_endpoint?: string, tested_endpoint: string }
Common failure modes (LINE returns them via 'reason'):
INVALID_REPLY: webhook responded but the response shape is unexpected
UNAUTHORIZED: signature verification failed (your code uses wrong channel_secret)
SERVER_ERROR: webhook returned 5xx
TIMEOUT: webhook took >10s
SSL_ERROR: HTTPS cert problem
Use this whenever a bot stops responding before debugging anything else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| override_endpoint | No | Test a specific URL instead of the OA's currently configured webhook URL. | |
| oa | No |