解析无效会话令牌错误1.8.2 [英] Parse invalid session token error 1.8.2

查看:498
本文介绍了解析无效会话令牌错误1.8.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行它时,我正在应用程序的终端中收到此错误。它很久以前工作正常,但现在我得到一个无效的会话令牌错误,我不知道为什么。我试图解决这个问题没有成功。



我已尝试阅读此解析帮助教程,了解如何使用链接修复此错误

解决方案

在仪表板和文档中明确说明了这一点。如果启用需要可撤销会话,则所有使用旧令牌(不可撤销)的会话将失效,您将不得不再次登录。



您有两种可能:




  • 您的应用已投放生产,并且您有用户将其与旧版本的SDK一起使用(意味着他们使用的是旧令牌)。然后你应该立即禁用需要可撤销的会话。

  • 你仍在开发你的应用程序,然后启用需要可撤销的会话,不要添加迁移代码,只需重新安装你的app。


I am currently getting this error in the terminal of my application when I run it. It was working fine not to long ago but now I am getting an Invalid Session Token error and I'm not sure why. I have tried to resolve this issue with no success.

I have tried reading upon this parse help tutorial on how to fix this error with the link https://www.parse.com/tutorials/session-migration-tutorial, but when I try entering that line of iOS code in the line below where I enter the client & Application ID, it does not run (I get a failed error).

I have also have "Require Revocable Sessions" enabled in the dashboard of ma application which it says to do in the link provided.

If anybody else is having this issue and can help me solve it, that would be fantastic, thank you!

解决方案

This is clearly stated on the dashboard and in the documentation. If you enable "Require Revocable Sessions", all sessions that use legacy tokens (non revocable) will be invalidated and you will have to login again.

You have 2 possibilities :

  • Your app is in production and you have users using it with an old version of the SDK (meaning they use old tokens). Then you should disable "Require Revocable Sessions" immediately.
  • You're still developing your app, then leave "Require Revocable Sessions" enabled, do not add the migration code and just re install your app.

这篇关于解析无效会话令牌错误1.8.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆