Forum Discussion
Incoming webhook fails but returns HTTP 200 OK
I have an incoming webhook which fails to accept POST requests, but returns HTTP 200 OK.
The response body is: "System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
This should be returned as HTTP 5xx instead, as currently it breaks any automation which relies on it.
6 Replies
- Scott AbrantsCopper Contributor
Looks like this is still happening intermittently. I am also not finding a sure fire way to grab the body to also inspect the result outside of the 200 - Ok.
- jakubjanuszkiewiczCopper Contributor
Is anyone from Microsoft reading this? Will the "200 OK" problem be fixed, so that a proper 5xx code is returned in case of an error?
- jakubjanuszkiewiczCopper Contributor
For anyone interested, I was told that it was most likely the same as this: https://answers.microsoft.com/en-us/msoffice/forum/all/microsoft-teams-incoming-webhook-stopped-working/d841e06a-b0a7-41fd-a4b9-644a54e0b30c
- mharrison0224Copper Contributor
We're having the same issue here as well. All our webhooks stopped working around Sunday at 5:00AM it looks like. jakubjanuszkiewicz
- jakubjanuszkiewiczCopper Contributor
mharrison0224 that it stopped working is one problem. That is returns the error as 200 OK is another problem, arguably a more serious one, as it conceals the error from scripts.
- KaufsimCopper Contributor
We‘re having the same issue here.. read that on a lot of different forums