Teams Webhook Workflow no longer working on beta release #4152

Closed
opened 2026-02-28 03:52:54 -05:00 by deekerman · 1 comment
Owner

Originally created by @jakestec on GitHub (Jun 4, 2025).

⚠️ Please verify that your question has not already been reported

🛡️ Security Policy

📝 Describe your problem

Hello, I've been running the beta version for a while now and have been using the new Teams Webhook notifications via Power Automate workflows for a couple months with no issues. The other day I noticed my setup has been pretty quiet so I decided to test my teams notifications to learn that they are no longer working.

In the last couple weeks I upgraded from beta.0 to beta.1 and then beta.2, unfortunately without proper regression testing because I don't know if the teams notifications were working before the upgrade or not. I have since tested rolling back to beta.0 and even upgrading to the latest beta.3 but I get the exact same Axios error in each release so I am starting to think this is external to Kuma.

I've tested and confirmed the webhook URL I am using works from within the Kuma container using Curl, so reachability is OK.

Just trying to reach out and see if anyone else is having issues with their Teams Channel notifications in Kuma, specifically using the new Power Automate workflows method.

For context my workflows are setup using the default template like mentioned here:
https://github.com/louislam/uptime-kuma/issues/4934#issuecomment-2271318661

I am using the "Microsoft Teams" notification type. When I hit "Test" on the notification I get the following in the GUI. Container logs shows the same error.

Image

📝 Error Message(s) or Log

Error: Error: AxiosError: Request failed with status code 400 <HTML><HEAD>
<TITLE>Request Error</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Request Error (invalid_request)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
Your request could not be processed. Request could not be handled
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This could be caused by a misconfiguration, or possibly a malformed request.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
For assistance, contact your network support team.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>

    at Teams.throwGeneralAxiosError (/app/server/notification-providers/notification-provider.js:116:15)
    at Teams.send (/app/server/notification-providers/teams.js:235:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Socket.<anonymous> (/app/server/server.js:1471:27)

🐻 Uptime-Kuma Version

2.0.0-beta.3

💻 Operating System and Arch

Container deployment with podman

🌐 Browser

MS Edge

🖥️ Deployment Environment

Red Hat Enterprise Linux release 9.5 (Plow)
podman version 5.2.2

Originally created by @jakestec on GitHub (Jun 4, 2025). ### ⚠️ Please verify that your question has not already been reported - [x] I have searched the [existing issues](https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue%20sort%3Acreated-desc%20) and found no similar reports. ### 🛡️ Security Policy - [x] I have read and agree to Uptime Kuma's [Security Policy](https://github.com/louislam/uptime-kuma/security/policy). ### 📝 Describe your problem Hello, I've been running the beta version for a while now and have been using the new Teams Webhook notifications via Power Automate workflows for a couple months with no issues. The other day I noticed my setup has been pretty quiet so I decided to test my teams notifications to learn that they are no longer working. In the last couple weeks I upgraded from beta.0 to beta.1 and then beta.2, unfortunately without proper regression testing because I don't know if the teams notifications were working before the upgrade or not. I have since tested rolling back to beta.0 and even upgrading to the latest beta.3 but I get the exact same Axios error in each release so I am starting to think this is external to Kuma. I've tested and confirmed the webhook URL I am using works from within the Kuma container using Curl, so reachability is OK. Just trying to reach out and see if anyone else is having issues with their Teams Channel notifications in Kuma, specifically using the new Power Automate workflows method. For context my workflows are setup using the default template like mentioned here: https://github.com/louislam/uptime-kuma/issues/4934#issuecomment-2271318661 I am using the "Microsoft Teams" notification type. When I hit "Test" on the notification I get the following in the GUI. Container logs shows the same error. ![Image](https://github.com/user-attachments/assets/f3a65783-f04a-4d30-84d4-b8dfa467a1cc) ### 📝 Error Message(s) or Log ```bash session Error: Error: AxiosError: Request failed with status code 400 <HTML><HEAD> <TITLE>Request Error</TITLE> </HEAD> <BODY> <FONT face="Helvetica"> <big><strong></strong></big><BR> </FONT> <blockquote> <TABLE border=0 cellPadding=1 width="80%"> <TR><TD> <FONT face="Helvetica"> <big>Request Error (invalid_request)</big> <BR> <BR> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> Your request could not be processed. Request could not be handled </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> This could be caused by a misconfiguration, or possibly a malformed request. </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica" SIZE=2> <BR> For assistance, contact your network support team. </FONT> </TD></TR> </TABLE> </blockquote> </FONT> </BODY></HTML> at Teams.throwGeneralAxiosError (/app/server/notification-providers/notification-provider.js:116:15) at Teams.send (/app/server/notification-providers/teams.js:235:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Socket.<anonymous> (/app/server/server.js:1471:27) ``` ### 🐻 Uptime-Kuma Version 2.0.0-beta.3 ### 💻 Operating System and Arch Container deployment with podman ### 🌐 Browser MS Edge ### 🖥️ Deployment Environment Red Hat Enterprise Linux release 9.5 (Plow) podman version 5.2.2
deekerman 2026-02-28 03:52:54 -05:00
  • closed this issue
  • added the
    help
    label
Author
Owner

@jakestec commented on GitHub (Jul 3, 2025):

Turns out we are in fact hitting the issue with axios and proxies that's already mentioned here: #2588

I am still working on an RCA. Since this was working earlier, I can only assume there was some upstream change with our corporate proxy that we now have to HTTP CONNECT before HTTP POST which is how most proxies work and why my tests with cURL were working since it acknowledges the proxy config from environment and does the CONNECT/POST flow correctly.

I was able to confirm this behavior by taking pcaps and inspecting the difference between failed notifications sent from kuma/axios and working curl requests inside the container.

@jakestec commented on GitHub (Jul 3, 2025): Turns out we are in fact hitting the issue with axios and proxies that's already mentioned here: #2588 I am still working on an RCA. Since this was working earlier, I can only assume there was some upstream change with our corporate proxy that we now have to HTTP CONNECT before HTTP POST which is how most proxies work and why my tests with cURL were working since it acknowledges the proxy config from environment and does the CONNECT/POST flow correctly. I was able to confirm this behavior by taking pcaps and inspecting the difference between failed notifications sent from kuma/axios and working curl requests inside the container.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#4152
No description provided.