-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cannot modify user created before migration when localDatastore is enabled. #1460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We also have localDatastore enabled, and experienced similar thing. Possibly related: #1404 |
Can you post the database contents for a user that is having the issue, and the exact request received by the server? The server logs all requests when you use the |
Sure, this is one of the users with the problem, happens to all old users:
Request:
|
Thanks, I'll look into this. |
Also, I might not need it, but I also might: the contents of your |
Thanks!
Let me know if you need anything else 👍 |
I noticed you have |
|
Unfortunately you'll need to go through the migrating to revocable sessions flow before using Parse Server: https://parse.com/tutorials/session-migration-tutorial otherwise users with old versions of your app will not be able to log in. |
@drew-gross I've already migrated to the new mlab without revocable session tokens, now i'm stuck because i can't migrate again using revocables session tokens, only change the connection DB string, do you have any suggestion? |
I have the same issue |
The instructions in the guide will still work even after you've migrated your database. |
@drew where to put that line in iOS ? Inside the login function? |
I'm getting:
[Error]: cannot modify user ID_HERE (Code: 206, Version: 1.12.0)
When trying to update a user that was created before migrating from parse.com to mlab.com
Testing results
Instalations
andSessions
for that user don't fix the error.400 Bad Request {"code":206,"error":"cannot modify user ID_HERE"}
Environment Setup
Swift project
iOS SDK 1.12.0
Parse Server
Steps to reproduce
Pd. ParseServer is awesome, thanks for making it.
The text was updated successfully, but these errors were encountered: