Files
conversation-history/SquareMCP/2026-06-11-whatsapp-63024-and-group-messaging-investigation.md
T

52 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# WhatsApp 63024 Diagnosis + Masonic Group Messaging Investigation
**Date:** 2026-06-11
**Project:** SquareMCP / `hermes-mcp`
**Status:** Diagnosis complete, opt-in outreach sent, group-messaging question answered (no build yet)
**Related:** [[2026-06-11-alex-ferrari-meeting-notes]], [[2026-06-10-twilio-whatsapp-inbound-webhook]], [[2026-06-11-twilio-company-logo-bmp-handoff]]
---
## 1. Twilio error 63024 "Invalid message recipient" — diagnosis
User's working hypothesis was a Twilio WhatsApp **sandbox** misconfiguration. Checked Twilio Console → WhatsApp Senders for **+1 954-738-5805**:
- Status: **Online**, fully production-approved sender (not sandbox)
- WABA ID: `996304809563412`
- Meta Business Manager ID: `906626079073433`
- Display name "Squaremcp", Quality rating "Unavailable", Throughput 80 MPS
- Linked to a Messaging Service created 2026-05-16
- Business profile (website, email, vertical, "About" text) already filled in and saved
**Conclusion:** sandbox hypothesis ruled out. 63024 is a **recipient-side opt-in / session issue** — Alex's number (+19549347996) hasn't messaged +1 954-738-5805 first, so there's no open 24-hour customer service window and the business-initiated freeform message is rejected.
## 2. Opt-in outreach sent to Alex Ferrari
Two channels, same ask ("text +1 954-738-5805 to open the session"):
- **WhatsApp** — sent via `whatsapp_send_message` (default account → sender +1 954-738-5805) to +19549347996. Note: the `sqcp_garfield` account has no WhatsApp credentials configured (`WHATSAPP_{ACCOUNT}_PHONE_NUMBER_ID` / `WHATSAPP_{ACCOUNT}_ACCESS_TOKEN` unset) — message_id `SMe924f1fc982050d21b0ac8d89cdf0056` went out via the `default` account instead.
- **Email** — sent via `send_email` (account `sqcp_garfield`, garfield@squaremcp.com) to alexferrari@gmail.com (cross-checked against the calendar invite for "SquareMCP — 90-Day Pilot Kickoff with Alex Ferrari", 2026-06-11 noon–2pm ET).
User also messaged Alex from their **personal** WhatsApp number — clarified this does **not** open a session for the business sender, since WhatsApp sessions are per-business-number. The targeted opt-in messages above remain the operative fix.
## 3. "What if I added +1 954-738-5805 to the masonic group?"
Researched via Twilio docs (best-practices/FAQ page, code exchange).
**Answer: not possible as a normal WhatsApp group member.**
- WhatsApp deprecated the native **Groups API** in April 2020.
- Twilio's own FAQ states explicitly: Business Platform numbers can't join/manage WhatsApp groups.
- The only "group-like" option is Twilio's **Conversations API** — fans one WhatsApp sender out to up to 50 participants in a Twilio-managed thread. This is architecturally separate from a normal WhatsApp group chat and is not "add this number as a participant."
- The existing `/webhook/twilio/whatsapp` reply-1/2/3 approval flow ([[2026-06-10-twilio-whatsapp-inbound-webhook]]) is built for 1:1 conversations and would need rework for any multi-participant context.
**Practical near-term path (no build required):** keep doing what's already working — post "+1 954-738-5805" in the lodge group as a regular message and let each member opt in 1:1, same as the Alex flow above. Each opt-in opens its own session and is handled individually by the existing webhook.
**If a real shared-group experience is wanted later:** see [[2026-06-11-whatsapp-group-messaging-spec]] for the Conversations API build spec.
---
## Sources
- [The WhatsApp Business Platform with Twilio: Best Practices and FAQs](https://www.twilio.com/docs/whatsapp/best-practices-and-faqs)
- [WhatsApp Group Messaging | Twilio Code Exchange](https://www.twilio.com/code-exchange/whatsapp-group-messaging)