P
P
programm_err2016-03-05 14:54:34
Android
programm_err, 2016-03-05 14:54:34

How to fix error 103 when calling OK.GetCurrentUser?

There is a simple code:

OK.Init(initResult =>
{
  OK.Auth(callback =>
  {
    OK.GetCurrentUser(r =>
    {
      Debug.Log("Age=" + r.age);
    });
  });
});

Init и Auth проходят успешно (если запускать на устройстве, то логин проходит так же без проблем). Однако при вызове OK.GetCurrentUser приходит вот такой ответ:
IN www <- {"error_code":103,"error_msg":"PARAM_SESSION_KEY : Invalid session key","error_data":null}
users.getCurrentUser failed -> PARAM_SESSION_KEY : Invalid session key

Что я делаю не так?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question