-
-
Notifications
You must be signed in to change notification settings - Fork 206
ParseUser.save
fails when user is logged in
#819
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
Thanks for opening this issue!
|
I checked, there is no problem. This error occurs when you timeout. Please check if there is access to the server. my parse response ╭-- Parse Request
curl -X POST -H 'X-Parse-Revocable-Session: 1' -H 'X-Parse-Installation-Id: ---' -H 'user-agent: Flutter Parse SDK 3.1.12' -H 'X-Parse-Application-Id: ----' -H 'X-Parse-Client-Key: ----' https://parseapi.back4app.com/classes/_User
https://parseapi.back4app.com/classes/_User
╰--
╭-- Parse Response
Class: _User
Function: ParseApiRQ.signUp
Status Code: 201
Payload: {"className":"_User","objectId":"I49l5SKBPX","createdAt":"2023-02-03T15:15:11.860Z","username":"te424s24453t22","email":"[email protected]","sessionToken":"r:b68e8ae664e802189f2931c3917bb5c3"}
╰-- As you can see in my response, I am using the |
Thanks for the quick reply! My user object has several child objects which are probably causing the failure. |
Yes, I would appreciate it if you could send a sample code |
I made several attempts to generate this error but could not simulate the error. |
@hgandhi67 @gorillatapstudio dependency_overrides:
parse_server_sdk:
git:
url: https://github.com/mbfakourii/Parse-SDK-Flutter
path: packages/dart
ref: 889bdd878485a4f7c4228cf8f8247043a118ce29 |
Sorry i am seeing the same error. |
in the 3.1.12 PR, |
In this way, I went back to |
I ran into this issue today and this override fixed it for me. This issue didn't happen in my release build from a couple weeks ago which is weird (I didn't change anything related to Parse). |
ParseUser.save
fails when user is logged in
New Issue Checklist
Issue Description
When using the 3.1.12, as long as the user is signed in, user.save() results in save failed error. null is not an int.
When switched back to 3.1.11, the error is gone.
I have switched back and force twice to validate the issue.
Steps to reproduce
upgrade the sdk to 3.1.12, user log in, use debug mode
Actual Outcome
Expected Outcome
Environment
Parse Flutter SDK
FILL_THIS_OUT
Server
FILL_THIS_OUT
Logs
The text was updated successfully, but these errors were encountered: