https://discord.gg/botpress logo
WhatsApp OAuth Not Working (Error: Wrong PIN used)
# šŸ¤help
n
Every time I try to connect Botpress to my WhatsApp Business number, the interface says OAuth is authorized. But it's not working. I don't get a reply on my messages in WhatsApp and the logs of Botpress say this: (OAuth registration) Error registering the provided phone number ID: Request failed with status code 400 -> {"error":{"message":"(#133005) Two step verification PIN Mismatch","type":"OAuthException","code":133005,"error_data":{"messaging_product":"whatsapp","details":"Security PIN Mismatch: Wrong PIN used. Make sure you are using the correct PIN and try again."},"fbtrace_id":"A4qP3i2p-sXweUsMtcQzifJ"}} Does anyone know how to solve this problem? https://cdn.discordapp.com/attachments/1491043722752688178/1491043723193221130/image.png?ex=69d6422d&is=69d4f0ad&hm=24784bfab0da6039791ae538fa9b93c4f99057caf8035d52a7f919911cfe86ef& https://cdn.discordapp.com/attachments/1491043722752688178/1491043723570712658/image.png?ex=69d6422d&is=69d4f0ad&hm=4d24400366060315803a5e685e496756dce90f5ffa164dbf6685b625a1dc06d7&
l
Hello šŸ˜„ Based on the above: Wrong PIN used. Make sure you are using the correct PIN and try again.
Any idea based off this error message? Maybe during the sign in process
n
@loud-crowd-60573 During the sign-in process I never was asked for a PIN...
l
When you tried linking your phone number was there a verification you had missed? Could have been a pop up
n
@loud-crowd-60573 Nope, no verification was asked since I already connected the number to WhatsApp Business before.
l
It seems the SMS confirmation is not being sent, other users are facing the same thing, will ask team to investigate and get back
n
@loud-crowd-60573 This morning, I deleted the WhatsApp Business account from my Meta Business and connected it again. I do get the SMS verification code from Meta, but when the connection is completed it says "Bad Gateway"
@loud-crowd-60573 And now I cannot create the connection anymore and not create the YT video for tomorrow
@loud-crowd-60573 I will try to recreate this now, so you have a good example
l
A work around for this issue would be to Turn off 2FA on the WhatsApp Manager and do the flow again. https://business.facebook.com/latest/whatsapp_manager/phone_numbers
n
@loud-crowd-60573 Thank you so much, that worked!!
m
Guys, I can’t find a way to contact you. You’ve got a serious issue with the WhatsApp integration. The OAuth flow isn’t working at all. I don’t think it’s just me either, since I tested it on 3 different computers, 5 browsers, and nothing works. It simply won’t connect to Meta accounts. The only way I managed to make it work was manually (boring). Any help?