If there’s something in the body of the response, you should be able to get it 
from the hxr.

> On Mar 19, 2017, at 11:32 AM, Justin Mclean <jus...@classsoftware.com> wrote:
> 
> Hi,
> 
> Perhaps an example will help showing this better. The server I’m talking to 
> gives:
> Status Code:500 The current user is not authorized to invoke this method.
> 
> But you can also get errors like this:
> Status Code:500 The PROFILEID parameter to the logout function is required 
> but was not passed in.
> 
> Trying to distinguish the "user is not authorized” issue vs the other errors 
> isn’t easy without access to the status text.
> 
> For a valid request you normally get:
> Status Code:200 OK
> 
> Thanks,
> Justin

Reply via email to