What if the LINE bottom menu won't open the LIFF page?
Troubleshooting when clicking the Rich Menu at the bottom of the LINE chat shows "Cannot open page. Check your network connection and try again."
Answer
When chatting with the DodoAI official account on LINE, tapping "Menu" (Rich Menu four squares) at the bottom should open the LIFF page (YOYO, Me, Upgrade, My Space, etc.).
If you see the native LINE message "Cannot open page. Check your network connection and try again.", it is usually a LIFF configuration or Rich Menu link issue, not your phone's network.
Common causes
| Cause | Description |
|---|---|
| LIFF_ID not configured | line-api online ENV missing LIFF_ID; Rich Menu cannot generate correct liff.line.me deep links |
| Rich Menu still on old links | Menu was provisioned with ngrok / test LIFF ID; production was not re-provisioned |
| Wrong LIFF Endpoint | LINE Console Endpoint set to https://app.dodoai.jp/liff (extra /liff) → requests /liff/liff/… and fails |
| Wrong Endpoint domain | Points to line-api domain instead of https://app.dodoai.jp |
Ops fix steps (production)
-
Self-check API (browser or curl)
GET https://<line-api-domain>/api/line-messaging-status
Confirm:liffIdConfiguredis trueliffAppOriginishttps://app.dodoai.jprichMenuSampleUrlslinks look likehttps://liff.line.me/{LIFF_ID}/liff/yoyo
-
Admin online ENV (service
ai-dodoai-line-api)- Set LIFF_ID (LINE Developers → LIFF app ID)
- Confirm LIFF_CHANNEL_ID
- ALLOWED_WEB_ORIGINS includes
https://app.dodoai.jpandhttps://liff.line.me
-
LINE Developers Console (same Messaging API Channel)
- LIFF → Endpoint URL:
https://app.dodoai.jp(root domain only, no/liffsuffix) - Scopes include
profile,openid
- LIFF → Endpoint URL:
-
Re-provision Rich Menu (after LIFF_ID is set)
cd ai-dodoai-line-api npm run rich-menu:provision -- --image ./assets/rich-menu-4.png -
Redeploy
ai-dodoai-line-apiandai-dodoai-app; in LINE close chat and re-enter or re-follow to refresh menu cache.
What users can try
- Close the LIFF window, return to chat, tap "Menu" again
- Update LINE to the latest version
- If it still fails, tell support which square failed and when, for
line-messaging-statuschecks