https://discord.gg/botpress logo
WhatsApp 4.0.0 - Integration Issue.
# 🤝help
r
Hi I noticed that my WhatsApp integration is not working. When I checked the integration page, it is not the usual interface. I cannot tend to get the integration working. Anyone has the same experience?
The error code is [Internal] Request failed with status code 500
l
can you share more details... where are you getting this error
r
Hi. Thank you for your reply, I am getting the error from events. I checked if I have broken loops and put default values on variables. What I am getting is that WhatsApp cannot render cards? like the predefined answers on multiple choice card? Like Prompt: "What topic you an issue with?" Cards: [Topic A] [Topic B]
Or a carousel? Both work in WhatsApp
b
I had a similar issue. Whatsapp doesn't answer in the app, but it does in the conversation log from Botpress.
l
Can you provide details
r
I realized that both the Whatsapp and webchat sends error 500 but the emulator works fine. Is there an issue with it?
p
Is there any other information you could provide about the error?
r
I found that it seems that the error 500 is being caused by my undefined name variable. From start I initialized this name variable -> Then update it through capture information -> in the next node I call workflow.name.first but its highlighted red, when testing in the emulator it works fine.
l
Is workflow.name an object?
b
I have linked Botpress and Whatsapp through the oAuth method, and since I connected it (it shows it's successful) I can chat in the test phone number I received from meta, but the chat doesn't show the bot's answer, and instead logs in the Conversations tab. I recently updated the app hoping it would fix this issue. - Here's the problem in the Conversation log - The auth - and where the bot is not answering (Menu) https://cdn.discordapp.com/attachments/1375294228766265394/1376922281334542336/image.png?ex=6837164d&is=6835c4cd&hm=1524f25ad8476c536fce1f516c5b54b89df2108dce6c077640945cf82a7d4a99& https://cdn.discordapp.com/attachments/1375294228766265394/1376922281531539588/image.png?ex=6837164d&is=6835c4cd&hm=ced1c780a8bcc845e925dc2971cd1ed030247ae999a53bf97fade02f1f98ebc5& https://cdn.discordapp.com/attachments/1375294228766265394/1376922281778872480/image.png?ex=6837164d&is=6835c4cd&hm=298ef13450d7246242a9efeeeed026cdd6989b8bf80e2feded756f8c822c2276&
l
I don't understand completely. Are you saying that with the test phone number, you can send messages to the bot, but the bot's responses are not shown to you in WhatsApp? Instead, they only show up in the conversations? If the above is correct, do you see any errors in logs?
b
Exactly
and I havent seen error logs.
p
There are no errors at all in your logs?
l
You cannot test WhatsApp integration in the emulator
And WhatsApp logs will not be shown here in the Emulator logs. Go to the workspace Dashboard, on the left you will see logs
h
Im in the same situation, I can see logs of the conversation through the website but no response in whatsapp to the client from the bot. It starts to write but nothing comes. When I sign in to botpress I can see the bots answer and no errors. Any help here?
p
So that means your meta profile is missing information, which you would need to complete before you can see the messages sent by the bot.
b
Thanks 🙂, I'll check
l
Additionally verify your business and ensure your profile name on WhatsApp is approved
2 Views