Microsoft Teams webhook fails after certificate creation (reason: empty payload)
See original GitHub issueDescribe the bug Microsoft Teams webhook fails after certificate creation with error:
Failed invoke webhook. Status Code = BadRequest, Reason = Invalid webhook request - Empty Payload
To Reproduce Steps to reproduce the behavior:
- Follow setup instructions and configure a Microsoft Teams webhook.
- Create a new certificate.
- Search the application insights for “webhook”.
- See webhook error that occurred after certificate creation.
Environment (please complete the following information):
- Certificate Type: Zone Apex and www
- Certificate Deploy Target: Front Door
Additional context
I noticed that Teams recently changed the format of their webhook URL. It now has the format: https://xxx.webhook.office.com/webhookb2/xxx/IncomingWebhook/xxx/xxx
. Previously it was: https://outlook.office.com/webhook/xxx/IncomingWebhook/xxx/xxx
. I checked the source code for this project which seems to be looking for .office.com, so I don’t believe the URL format change would negatively impact webhook execution.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
GitHub PAyload doesn't work for msTeams
One common cause of this issue is that the payload being sent by GitHub is not in a format that Teams can understand....
Read more >Webhook - bad payload - Microsoft Q&A
I just don't get to sending a webhook message. I tried to set a variable and put to data field and send but...
Read more >Bad payload received by generic incoming webhook
Hello, We use the MessageCard Reference (https://learn.microsoft.com/en-us/outlook/actionable-messages/message-card-reference) to send ...
Read more >Microsoft Teams Integration - Security Certificate Problems
Like a certificate, each Webhook has an expiration date at which time it can no longer be used. This expiration date can be...
Read more >Configuring Incoming webhook - error - something went ...
Hi, We are trying to configure an Incoming webhook connector in Teams, but get the following error message: Something went wrong.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been fixed in
v3.6.6
. Thank you!Thank you. I was able to identify the cause.
It seems that Incoming Webhook in Teams does not handle requests with
Transfer-Encoding
correctly. I’m working on a fix to avoid this problem now.