Files
openclaw/extensions/line
Eden aea825f9d9 fix(line): retry inbound media download while LINE reports 202 (still preparing) (#108351)
* fix(line): retry inbound media download while LINE reports 202

LINE answers the content endpoint with 202 and an empty body for a
short window while it prepares inbound media. The previous single-shot
download saved that empty body as a 0-byte file, silently dropping the
user's media. Poll the content endpoint with capped exponential
backoff until it stops returning 202, releasing each empty response
before retrying, and throw a visible error if it never becomes ready.

* fix(line): clean up media retry responses

* fix(line): use plugin runtime fetch seam

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-16 01:46:57 -07:00
..

OpenClaw LINE

Official OpenClaw channel plugin for LINE Bot API chats.

Install from OpenClaw:

openclaw plugin add @openclaw/line

Configure LINE channel credentials in OpenClaw, then connect the bot to the chats where agents should receive and send messages.