Closed GoogleCodeExporter closed 9 years ago
This defect is fixed in the build 1.0.22.
Original comment by nabeelmukhtar
on 13 Sep 2011 at 12:26
Why I couldn't run this program successfully? When I run the code of
"PublicStatsApiSample.java", the error came out to interrupt the
implementation.The error information showed as follows:
2011-11-24 12:44:42 org.apache.http.impl.client.DefaultRequestDirector
handleResponse
警告: Authentication error: Unable to respond to any of these challenges: {}
Exception in thread "main" com.mendeley.oapi.services.MendeleyException:
{"error":"Invalid consumer key"}
at com.mendeley.oapi.services.impl.MendeleyApiGateway.callApiGet(MendeleyApiGateway.java:292)
at com.mendeley.oapi.services.impl.MendeleyApiGateway.callApiGet(MendeleyApiGateway.java:220)
at com.mendeley.oapi.services.impl.PublicStatsServiceImpl.getPublications(PublicStatsServiceImpl.java:126)
at com.mendeley.oapi.services.example.PublicStatsApiSample.main(PublicStatsApiSample.java:46)
Original comment by sunjs9...@gmail.com
on 24 Nov 2011 at 4:47
Original issue reported on code.google.com by
jim.hoka...@gmail.com
on 17 Jul 2011 at 10:46