I get this error when I call to authenticate a user
- Code: Select all
at com.playerio.PlayerIOChannel.GetError(PlayerIOChannel.java:48)
at com.playerio.PlayerIOChannelProtobufHttp$1.run(PlayerIOChannelProtobufHttp.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
An unexpected error occurred inside the Player.IO webservice. Please try again. - Reference code: c0b8cb81
- Code: Select all
HashMap<String, String> authenticationArguments = new HashMap<String, String>();
authenticationArguments.put("username",gcm);
authenticationArguments.put("password",gcm);
authenticationArguments.put("userId",gcm);
PlayerIO.authenticate(appCompatActivity,"XXXXXX","public",authenticationArguments,null, new Callback<Client>() {
@Override
public void onSuccess(Client cliente)
{
}
@Override
public void onError(PlayerIOError playerIOError)
{
playerIOError.printStackTrace();
}
});
Thanks!