Webhook not returning correct response



This url is not working when I hit it it shows site didnot respond. Can some body help me

I’m not exactly sure what the function of the webhook should be, however if you can find documentation for the webhook then I may be able to figure out what the issue is.

@Fionn Trying to achieve this

registered an event in Adobe IO to use webhook to send message in teams app.But its not working

app.get('/webhook', (req, res) => {
  if (req.query['challenge']) {
  } else {
    console.log('No challenge')

Try changing res.status to res.sendStatus(400); because res.status is deprecated. And are there any output or errors in the logs?

Did you set up .env correctly?

@Fionn I have done it correctly . First for private key I used the same format which was there is the github doc. Then I tried fwithout begin and end of private key comments . But it didnot work for me

And, I’m guessing you followed all the steps shown on the github repository, correct?

@Fionn yes correct, I have followed all the steps.

@Fionn I am not getting correct response when I am trying to hit the below url in postman :-


@khalby786 its giving response as bad request when I edit my code with your suggestion.

The URL just seems to load forever.

Have you checked your logs?

@khalby786 @RiversideRocks

This is the status code :

503 Service Unavailable

This is console error

GET http://ms-teans-webhook.glitch.me/webhook 503 (Service Unavailable)

This may be a glitch error, check this…

@RiversideRocks How to solve this glitch error . Looking for a solution.

You might want to contact support@glitch.com because 503 is a sever error.