https://discord.gg/botpress logo
WhatsApp OAuth registration fails with 400 error (...
# 🤝help
l
Hi, I'm trying to connect my existing WhatsApp Business number to my Botpress agent, and the OAuth flow fails at the final step. Steps taken: 1. WhatsApp integration -> Connections -> "Connect your business account" -> "Connect with OAuth". 2. In the Meta popup, selected Business Portfolio "Tandem Joyas" and the existing WABA with phone number +54 9 351 359-9532 (WABA ID 1066562939149712). 3. Completed the flow to the final screen ("Tu cuenta esta conectada a Botpress") and clicked Finalizar. Error in my bot's Logs: [whatsapp] OAuth registration Error: Request failed with status code 400 Timestamp: Aug 5 2026, 21:48:57 Extra context: - The number is verified and shows "Conectado" in Meta WhatsApp Manager. - A payment method (Visa) is already attached to this WABA. - The display name "Tandem Joyas" is still "En revision" in Meta. - Test messages sent via a wa.me link get delivered (double gray check) but never show up in Botpress Events/Conversations. Any idea what's causing the 400 on the registration call? Happy to share more details.
p
Hello I have sorted something related to this before, the idea is you are doing a meta coexistence right? I can help you out with that
@little-arm-45995
l
Hi Mhaty, thanks for the reply! Yes, that's exactly it - I want coexistence: I'd like to keep using the regular WhatsApp Business app manually on the number for a while (until my bot is fully ready), while Botpress also handles messages via the API at the same time. Could you walk me through the right steps to set that up? That's probably why the OAuth flow keeps failing with the 400 error.
Update: I don't actually need coexistence - the number was bought exclusively for the bot, nobody uses the WhatsApp Business app manually on it. So a clean/direct Cloud API connection is fine.
I reset the config and reconnected via the OAuth wizard again - it now shows "Configuración completa" and in Botpress the integration shows "OAuth Connection: Connected". In Meta WhatsApp Manager the number shows status "Conectado" and was registered in the Cloud API today at 10:24 (display name is still "En revisión" but I understand that shouldn't block messaging).
Problem: I've sent several test WhatsApp messages to the number since reconnecting, and nothing is coming through - zero new events/logs in Botpress (Events and Logs are both empty since the reconnect), and on WhatsApp the messages just stay on a single grey checkmark (sent, not delivered).
Can you check on your end if the webhook subscription for this WABA/number actually went through? Happy to share the phone number ID or WABA ID if useful.
p
Alright
l
Here's the phone number ID from Meta WhatsApp Manager: 1241382109058374 (number +54 9 351 359-9532). Let me know if you need anything else on my end.
q
Could you share your bot id?
2 Views