Closed
Description
Not sure if this is happening to anyone but it just happened to me. If I have a user in the cache accessible with PFUser.currentUser(), I remove the user via Parse Dashboard and then do a PFUser.logOut(), the app gots a message saying
[Error]: invalid session token (Code: 209, Version: 1.14.2)
And the server automatically crashes. I need to do a Heroku Restart to get the server working again.
Steps to reproduce
- Create a new user in Parse
- Login in the app with that user
- Remove the user of the server via Parse Dashboard
- On the app make a Logout
Expected Results
There should be just the error 209 and the server should still working normally
Actual Outcome
The server just crashes and I need to do a Heroku Restart to get it up again. No error message displayed. It just doesn't work
Environment Setup
- Server
- parse-server version (Be specific! Don't say 'latest'.) : 2.2.18
- Operating System: Heroku (Not sure which operating system is)
- Hardware: Once again Heroku
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Heroku
- Database
- MongoDB version: 3.0.10
- Operating System: mLab
- Hardware: mLab
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): mLab
Logs/Trace
I'm not getting any logs with the error. Not sure if I need to do anything else. All my cloud code functions just starts failing
Metadata
Metadata
Assignees
Labels
No labels