The 401 response status comes from the HTTP server, I believe.  Take a
look at the HTTP response.  You can get it from the
OAuthProblemException, like this:

try {
  ... client.invoke(request, params);
} catch (OAuthProblemException e) {
    // System.err.println(e.getParameters().get(HttpMessage.REQUEST));
    System.err.println(e.getParameters().get(HttpMessage.RESPONSE));
    ...

On Jan 27, 5:25 am, Tane Piper <[email protected]> wrote:
> I've now hit a weird issue with a 401 Unauthorised error.  At the
> moment, I'm not sure where this is coming from as the accessor
> and client have been set and other posts are working.
> [snip]
> Any ideas why this would be getting
> unauthorised (except the obvious answer that it's coming from
> the other end, but I need to try eliminate anything at my end).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to