> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/tong-xun-qu-dao/integrations/line-2.0/line-zheng-he-yi-nan-pai-cha.md).

# LINE Integration | Checking

{% hint style="info" %}
If you still cannot receive LINE messages through Omnichat or send messages out from Omnichat after integrated LINE into Omnichat. Please follow the step below to check if there is an error in the integration process.
{% endhint %}

### 1. Please check your backend of LINE's official website, whether you are in Chatbot mode and enable Webhook already

Go to backend of LINE official account -> Setting -> Response settings, checking whether you select **Chatbot** under Response mode and **enable Webhook**

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F3eA8egzcDdfdnaP8kpCZ%2F%E6%88%AA%E5%9C%96%202023-05-22%20%E4%B8%8B%E5%8D%885.11.54.png?alt=media&amp;token=846ddcb4-fab7-4bd4-8c87-f37df825e162" alt=""><figcaption></figcaption></figure>

### 2. Checking the setting of Messaging API

Go to LINE official account -> Setting -> Messaging API, checking whether the Messaging API setting's **Channel ID**/ **Channel secret**/ **Webhook website** is same as the information filled in at **Omnichat** [**Messenger Integration**](https://app.omnichat.ai/integration.html)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fal7XIz5Ou2gDyXCAi2nW%2F%E6%88%AA%E5%9C%96%202023-05-22%20%E4%B8%8B%E5%8D%885.14.54.png?alt=media&amp;token=592137f2-cfdb-44f3-a9fe-0ab8bfcce3ca" alt=""><figcaption></figcaption></figure>

### 3. Checking the setting of Line Developers

You can enter the LINE Developers backend through backend of LINE official account

Go to LINE Developers:

1/ Click the icon on the top right and select your account\
2/ Choose **Provider**\
3/ Choose **Channel**\
4/ Go to "Basic Settings" and "Messaging API " page

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LaFmilpuDQ-f7VKjHCH%2F-M6OQIkEeaKcF7oVcUeM%2F-M6OSgQt1EX17hCRIVsl%2F%E4%B8%B2%E6%8E%A5%20line%2009.jpg?alt=media\&token=b0069d12-5711-4bc0-86b5-576ab778ccad)

![LINE official account's Messaging API setting page](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LaFmilpuDQ-f7VKjHCH%2F-LxPCLBMii69GTHc6Ve4%2F-LxPEZt1kvqXlxRKiASu%2F%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202019-12-31%20%E4%B8%8B%E5%8D%8812.28.56.png?alt=media\&token=7f2a77e3-c786-4663-897a-778893be1108)

#### Confirm the relative setting correct

Checking whether the **App name**/ **Channel ID**/ **Channel Secret** information same as the setting of Omnichat's [**Messenger Integration**](https://app.easychat.co/integration.html)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fse5HTQZmEicroyBfx1Ti%2F%E6%88%AA%E5%9C%96%202023-05-22%20%E4%B8%8B%E5%8D%885.19.14.png?alt=media&amp;token=437ec722-64bf-46b5-96f3-9aed1441c090" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FQgvnwLPo2Y2pLJUQM8Nz%2F%E6%88%AA%E5%9C%96%202023-05-22%20%E4%B8%8B%E5%8D%885.22.39.png?alt=media&amp;token=fbbb6f74-e32e-4bed-8f39-32526211200c" alt=""><figcaption></figcaption></figure>

Please further check the below items:

1. **The available feature** should be included **REPLY\_MESSAGE** and **PUSH\_MESSAGE**. If one of them is missing, the error may occur when upgrading to LINE 2.0 on the LINE official account side. Please get in touch with the LINE customer service. If you are using the LINE@ account, your LINE subscription plan may not include Messaging API, please upgrade the plan and try once again.
2. Check whether the **Webhook URL** is the same as Omnichat's Messenger Integration setting
3. **Open the Use webhook**
4. Check whether the **Channel access token** is the same as Omnichat's Messenger Integration setting

![](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LaFmilpuDQ-f7VKjHCH%2F-LxPCLBMii69GTHc6Ve4%2F-LxPEj-8ZbT4gRv256C-%2F%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202019-12-31%20%E4%B8%8B%E5%8D%8812.33.31.png?alt=media\&token=3a2160bf-18c1-490f-a65d-eda4aae3bdbf)

![Check whether the Channel access token is the same as Omnichat's Messenger Integration setting](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LaFmilpuDQ-f7VKjHCH%2F-LxOok69SSrgR8jN_DEb%2F-LxP7z_JmrVjoFM8TfY5%2Fline%20integration%202.0%20-8.png?alt=media\&token=a29f6bac-2d06-4890-b91a-50baf80bab18)

### 4. Go to Line Developers backend and update **channel secret** and **access token**

When confirming the Line Developers' backend information and Omnichat's Messenger Integration setting are the same. If the integration still fails, please go to the Line developers backend and update the **channel secret** and **access token** again which copies the new **channel secret** and **access token** to Omnichat's Messenger Integration, then click "Update".

![Click "Issue" to get the new Channel Secret](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FLAFPWfqKm1HSW02MVWHl%2FScreen%20Shot%202021-09-30%20at%2012.29.04%20PM.png?alt=media\&token=27165f29-f34c-40ac-9ab1-58807d3aaae6)

![Click "Reissue" to get the new Channel Secret](https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FZxdByOUxJeEwAF32flPv%2FScreen%20Shot%202021-09-30%20at%2012.29.10%20PM.png?alt=media\&token=fa258264-f6c1-4c8c-88a0-0ae1bbeba99a)
