💬LINE Official Account
Settings related information
Settings related informationYou can go to the “LINE Official Account” button under the “Channels” item in the left menu to enter the list.
At the top right of the list, besides using “Add” to create a channel, each existing record has an “Edit” button; clicking it will take you to the edit page.

Add LINE Official Account information
Enter the main edit interface. The general data setting fields are listed as follows:
General information
Required
Fields
Content
Name
Enter an easily recognizable name that cannot be the same as other names.
Description
Fill in a description for easier management viewing.
Associated channel integration
Select an already created channel integration name.
Start connecting LINE Official Account
Enable API items
Go to LINE Developer, go to your LINE Official Account’s “Messaging API” page and confirmis enabled Messaging API, where you will see items including “REPLY_MESSAGE” and “PUSH_MESSAGE”.
Paste related information (Channel secret & Channel access token)
Go to LINE Developer platform.
On the Basic settings page, find “Channel secret” at the bottom.
On the Messaging API Find “Channel access token” at the bottom of the page.
Copy these two strings respectively into the corresponding fields in the system.



Paste the Webhook URL
Copy Webhook URL: copy the “Webhook URL” generated at the bottom of the system page.
Set Webhook URL:
Go to the LINE Developer platform’s Messaging API page.
and find the “Webhook URL” field and click “Edit.”
Paste the copied URL into the field after
https://.Click “Update” to save.
Enable Webhooks:
On the Messaging API On the page, find the “Use webhooks” field.
Edit it to the “Enabled” state to enable it.
This completes the binding setup for the LINE Official Account.


Adjust response mode and disable group features
Be sure to in the LINE Business management interface, adjust the desired chat behavior. We recommend turning off LINE’s native auto-reply in the backend to avoid conflicts with the system’s automatic replies.
Due to the nature of chatbot flows, if added to a group, facing multiple members conversing at the same time can easily cause unnecessary message triggers. Even using tags and other methods, it is still difficult to effectively resolve this issue.
Therefore, please set the following options to "Disable":
Allow bot to join group chats
Auto-reply messages
Please click the "Edit" on the right to make changes.
If you have made adjustments in the LINE Official Account management backend but do not see updates on the Messaging API page in LINE Developers, it is because LINE Developers’ display is not synchronized in real time. Please wait for a while; the system will update automatically and no additional action is needed.

Troubleshooting
Common reasons for failure to send
You have reached your monthly limit.
This message means your free message quota has been used up and you can no longer send more messages. If you need to continue using the service, consider upgrading your plan or purchasing additional message quota. Note that LINE’s backend data updates the next morning and is not real-time. Therefore, even if it appears you have not reached the limit, the quota may actually be exhausted.

Authentication failed. confirm that the access token in the authorization header is valid
The access token your system is using may be incorrect. This could be due to input errors or other administrators making changes in LINE’s backend that rendered it invalid or expired. In this situation, please go to LINE Developer https://developers.line.bizand in the corresponding Messaging API Channel reissue the access token, then paste it back into the system.
Customer messages are repeatedly received
First, you may need to go to https://developers.line.biz/zh-hant/ and in the “Messaging API” tab check whether Webhook redelivery is enabled. If it is enabled, you can try temporarily disabling it. Although Webhook redelivery is designed to resend when third-party systems have issues to ensure messages are not lost, according to our tests, when LINE itself has anomalies or encounters certain special conditions, it may continuously and repeatedly send the same message to third-party systems, which directly causes mismatches between scripts and the received message content.
Reissue Channel access token
In some cases, such as for debugging or avoiding interference from old third-party systems, if you need to regenerate the Access Token, you can go to https://developers.line.biz, then enter the “Messaging API” tab and click the “Reissue” button to regenerate the Channel Access Token. Then copy the newly generated Access Token and paste it back into your system for use.
This way, you can use the new Access Token to perform operations related to connecting the channel.
Can I reply directly through the LINE backend?
LINE added native backend settings at the end of 2022. You can choose to enable the reply feature and allow chat and Webhook to coexist. This means that after integrating a third-party system, you can still view messages and reply via LINE’s native backend.
However, note that if you reply directly in LINE’s native backend instead of replying through the FIRST LINE system, that reply will not appear in the FIRST LINE system. Also, if a customer is currently in a scripted flow, replying via the native backend will not advance that scripted flow.
Therefore, to ensure message consistency and smooth flow, it is recommended to reply and interact within the FIRST LINE system. This ensures message records and management are kept in one system and that scripted flows are triggered correctly.

Last updated