I am struggling to find an exception type that suits the HTTP Request activity. Tried all different exception but when the request actually throws UnAuthorised message its not jumping into exception block for some reason. Am I missing anything here? any example links for this?
It would be on system.net.http namespace, but to be honest, do you really need t do that? Did you even get an exception coming from your endpoint that you cant just use generic Exception type to handle? Usually what you do is using an Switch case for the result code to see if anything goes wrong thereā¦
I did purposefully put wrong password in the Authorisation section, so the log message when I run project shows āmessage: unauthorisedā. I want to handle this if this is not actually an exception. I am trying to work around the exceptions for http Request.