-
-
Notifications
You must be signed in to change notification settings - Fork 735
error:135 deviceType must be specified in this operation Parse v 1.14.1 #627
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
Your users are experiencing this or just you in your test device? ParseInstallation is often messed up when switching between debug / release APKs, different build variants, ... Ideally you would want debug APKs to connect to a different app with different app id. |
Yes, I can confirm that the issue started when I switched the build variant from debug to release. So the session was revoked and started the issue. |
We may add this logic to the installation re-save process. @ClarkXP during the meantime, you may trigger the re-save process yourself when you get code 135. if (e.getCode() == 135 && installation.getObjectId() == null) {
installation.setObjectId("objectId"); // set a fake objectId
installation.saveInBackground(); // it will trigger resave process due to object not found in the server
} Note: |
Should be fixed now right? |
@ClarkXP This issue should be resolved since v.1.15.2. If you still encounter the same issue, you can provide additional information to reopen it. |
Hi, I had the error in my app, exists any workaround for this error.
The field 'deviceType' is read only in ParseInstallation, so I don't know how to fix it.
The unique solution was delete all application data and relogin, but I can't do it with my users.
The text was updated successfully, but these errors were encountered: