How to enable webhooks? / Why does my webhook not trigger?

How to enable webhooks? / Why does my webhook not trigger?

patrick.fluegge
Advocate Advocate
363 Views
0 Replies
Message 1 of 1

How to enable webhooks? / Why does my webhook not trigger?

patrick.fluegge
Advocate
Advocate

Hello everyone,

 

I'm trying to get a webhook working for testing purposes in my training tenant.

SO far I managed to create the 3 Legged Token with Postman and also succesfully added a webhook.

 

But it seems, that the webhook is not triggering to my callback url.

As far as I understand the API docs, the callback URL needs to respond within 6 seconds with a 2xx message.

 

To do this I tried several methods:

  1. Using my public IP and a simple NodeJS Express server that does exactly that.
    I have my ports 80 unlocked in my router for this purpose. I added the the callback URL in the form of http://xxx.xxx.xxx.xxx/flc-hooks
    Using an external device (cellphone with mobile data only worked and had access) this method worked but I didnt't respond to a webhook from PLM.
  2. I also tried using ngrok, that was proposed in the API docs to have a domain that forwards everything to my localhost. This technically also worked, but it didn't receive any webhooks
  3. I also tried this site https://requestbin.net/ which gave me a temporary URL to receive any calls and log them, also didn't receive any hook from PLM.

Here's a screenshot from Postman. Of course I changed the callback URL for the different methods that I tried.

 

Am I missing something or why is it not triggering anything?

 

 

Hook in Postma that was succesfully addedHook in Postma that was succesfully added



Patrick Flügge

0 Likes
364 Views
0 Replies
Replies (0)