hi Grant , may you also past a snippet of your code?
regards antonio On Apr 15, 2014, at 11:12 AM, Grant Slender <[email protected]> wrote: > Hi, > > I had a fully working solution using Oltu version 0.31 but after upgrading > to 1.0 I now get this error message when working with LinkedIn. > > Does anyone know of a quick/obvious reason as to what may have caused this? > > OAuthProblemException{error='unsupported_response_type', > description='Invalid response! Response body is not application/json > encoded', uri='null', state='null', scope='null', redirectUri='null', > responseStatus=0, parameters={}} > at > org.apache.oltu.oauth2.common.exception.OAuthProblemException.error(OAuthProblemException.java:63) > at > org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse.setBody(OAuthJSONAccessTokenResponse.java:70) > at > org.apache.oltu.oauth2.client.response.OAuthClientResponse.init(OAuthClientResponse.java:56) > at > org.apache.oltu.oauth2.client.response.OAuthAccessTokenResponse.init(OAuthAccessTokenResponse.java:52) > at > org.apache.oltu.oauth2.client.response.OAuthClientResponseFactory.createCustomResponse(OAuthClientResponseFactory.java:60) > at > org.apache.oltu.oauth2.client.request.RobustURLConnectionClient.execute(RobustURLConnectionClient.java:107) > at > org.apache.oltu.oauth2.client.OAuthClient.accessToken(OAuthClient.java:65) > at > org.apache.oltu.oauth2.client.OAuthClient.accessToken(OAuthClient.java:55) > at > org.apache.oltu.oauth2.client.OAuthClient.accessToken(OAuthClient.java:71) > > -- > Cheers, > Grant
