WhatsApp Coexistence (Embedded Signup) silently fails on self-hosted — popup never launches after Facebook login #13899
Unanswered
zohair1609
asked this question in
Self hosted
Replies: 2 comments
-
|
Hi, Did you find an answer yet? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hello, did you find an answer? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Chatwoot version: v4.11.0 (self-hosted, Docker Compose)
OS: Ubuntu
Meta App type: Business
Products added: WhatsApp, Facebook Login for Business
Problem
When attempting to use WhatsApp Coexistence via Embedded Signup on a self-hosted instance, the flow silently fails after Facebook login. After logging in with Facebook, the popup closes and the page stays permanently stuck on:
"Please complete business setup in the Meta window..."

The second Meta popup (for the Embedded Signup business setup / Coexistence flow) never appears.
Configuration — all correctly set
Super Admin panel (/super_admin/app_config?config=whatsapp_embedded):
WHATSAPP_APP_ID ✅
WHATSAPP_APP_SECRET ✅
WHATSAPP_CONFIGURATION_ID ✅
Super Admin Messenger config (/super_admin/app_config?config=facebook):
FACEBOOK_APP_ID ✅
FACEBOOK_APP_SECRET ✅
Docker environment:
WHATSAPP_EMBEDDED_SIGNUP_ENABLED=true ✅
Meta App:
Facebook Login for Business advanced access for public_profile ✅
Valid OAuth Redirect URIs configured ✅
whatsapp_business_messaging permission active ✅
What we confirmed via browser DevTools
window.chatwootConfig.fbAppId is correctly populated ✅
window.chatwootConfig.whatsappAppId is correctly populated ✅
window.chatwootConfig.whatsappConfigurationId is correctly populated ✅
window.FB is object and window.FB.ui is function — SDK loads correctly ✅
Facebook OAuth status returns 200 with valid access token ✅
No errors in console related to the signup flow
No embedded_signup or business_login network requests fire after login — the FB SDK simply stops after the login step
What we also confirmed
The same number onboards successfully on Chatwoot Cloud without any issues
On Chatwoot Cloud the Embedded Signup popup appears correctly after Facebook login
On self-hosted the popup never appears
Expected behavior
After Facebook login completes, a second Meta popup should appear allowing the user to select their WhatsApp Business Account and choose the Coexistence option ("Connect your existing Business App").
Actual behavior
After Facebook login the popup closes and nothing happens. The page remains stuck on "Please complete business setup in the Meta window..." indefinitely.
Question for the team
Is there a configuration difference between Chatwoot Cloud and self-hosted that causes this behavior? Is there something specific about the Chatwoot Cloud setup that makes the Embedded Signup popup launch correctly that self-hosted instances are missing?
Beta Was this translation helpful? Give feedback.
All reactions