Whatsapp Api
Options
![nelson artunduaga](https://us.v-cdn.net/6037124/user_avatars/5917594.jpg)
nelson artunduaga
Member ✭
Hi all.
I am trying to set up the webhook whatsapp Api.
Whatsapp Api sends me this GET request, and I need to send back in the response the hub.challenge value, but when I try to do so it generates an error.
I think the function stack thinks I want a value like this. Because the name has a dot in it.
{
hub: {
challenge: 12345
},
}
How can I fix this error, if the name value has dots that I have to change?
Thanks.! [image.png]
I am trying to set up the webhook whatsapp Api.
Whatsapp Api sends me this GET request, and I need to send back in the response the hub.challenge value, but when I try to do so it generates an error.
I think the function stack thinks I want a value like this. Because the name has a dot in it.
{
hub: {
challenge: 12345
},
}
How can I fix this error, if the name value has dots that I have to change?
Thanks.! [image.png]
Comments
-
[image.png][image.png]
-
Hi, Nelson! You are correct in that Xano is currently reading this as dot notation. Using two dots in hub challenge should correct this.
webhook_Data.hub..challenge -
Thanks chris !!!
-
@nelson artunduaga I am in a similar situation with the WhatsApp webhook. However, I can see your attached images are not available anymore. Can you share how you managed to solve if you have time? Thanks.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback