uservoice/uservoice-android-sdk

UV Demo App can't subscribe to ideas

Opened this issue · 0 comments

I was trying out the User Voice Demo app and when I try to subscriber to an idea I get the following error in the log:

10-21 08:40:09.615 15556-15576/com.uservoice.uvdemo D/UV: /api/v1/oauth/request_token.json
10-21 08:40:10.408 15556-15576/com.uservoice.uvdemo D/UV: {"errors":{"type":"unauthorized","message":"Signed client required: Nonce invalid","oauth_problem":"timestamp_refused","server_time":1477291421}}

I even tried changing the config details in the demo app to point to my uservoice site and specified my trusted clients details with the code below and it still failed with the same error.

            Config config = new Config(USERVOICE_SITE, ApiSession.API_KEY,  Session.API_SECRET);
            config.setForumId(FORUM_ID);
            UserVoice.init(config, context);

What am I doing wrong?