cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
715
Views
5
Helpful
4
Replies

How to debug webhook ?

oneveu
Cisco Employee
Cisco Employee

Created a card, can see traffic in browser console when triggering button on card but cannot guess anything about what really happen to the webhook call.

But for sure the endpoint configured in the webhook did not receive the call.

Is there a way to get more information about what happened ?

Any webex logs we can query?

4 Replies 4

Raffaele Lagana
Cisco Employee
Cisco Employee

Hello, Is the webhook's target URL publicly available? If not, then our webhooks engine cannot POST to it.

 

Raffaele

yes it is public, but remain the question, how to debug ?

Depending on what to debug:

* Check if the Webhook is active: https://developer.webex.com/docs/api/v1/webhooks/list-webhooks

* Create a duplicate of the Webhook pointing to https://webhook.site or a similar service to check if they're working in general. If so, check your network/firewall settings

* Content of the Webhook: up to you

There isn't an exposed way to debug webhooks really, but the main reasons for a webhook not getting triggered usually are either the targetURL is not reachable (a good way to test this is to just test the URL on a browser, without any VPN or company firewalls) or the resource:event combo wasn't triggered. What is the event you are expecting to get triggered? An attachmentAction I presume? Do you maybe have some filters added to the webhook?


Raffaele