你好,我使用最新的 13.9.6 SDK,在用户登录之后,每次冷启动 App 都会调用 refreshSessionToken() 方法,但是 SDK 内部报错,信息如下:
path: /1.1/users/用户ID/refreshSessionToken
cost: 238.672ms
response: Error Domain=com.LeanCloud.ErrorDomain Code=206 "The user cannot be altered by other users or with outdated session." UserInfo={NSLocalizedFailureReason=The user cannot be altered by other users or with outdated session., com.alamofire.serialization.response.error.data={length = 90, bytes = 0x7b22636f 6465223a 3230362c 22657272 ... 7373696f 6e2e227d }, com.leancloud.restapi.response.error={
code = 206;
error = "The user cannot be altered by other users or with outdated session.";
我想请问下:
1. 正常登录之后是否需要调用 refreshSessionToken() 延长 token?如果不需要的话,登录信息多久失效?
2. 为什么会报这个错误?我确定用户是正常登录的。