Incoming webhook fails but returns HTTP 200 OK

Copper Contributor

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

We‘re having the same issue here.. read that on a lot of different forums

We're having the same issue here as well. All our webhooks stopped working around Sunday at 5:00AM it looks like. @jakubjanuszkiewicz 

@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.

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.

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?