Skip to content
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

PFUser become results in 206 in iOS SDK #444

Closed
edualm opened this issue Feb 16, 2016 · 9 comments
Closed

PFUser become results in 206 in iOS SDK #444

edualm opened this issue Feb 16, 2016 · 9 comments

Comments

@edualm
Copy link

edualm commented Feb 16, 2016

Hello,

There appears to be a problem when using PFUser.becomeInBackground(sessionToken) from an iOS app.

All writes to the user object return a "[Error]: cannot modify user (Code: 206, Version: 1.12.0)".

Using the REST API with the session token returned by my Cloud Code works (I attempted to edit a field in the user object, and it worked).

If you are unable to reproduce this issue / need code samples, just say.

Thanks for the attention,
Eduardo Almeida

@alioguzhan
Copy link
Contributor

same here. i get this error when using [user saveInBackgroundWithBlock...] method. And this is the full error:

error : {
    NSLocalizedDescription = "cannot modify user jV2QyE2Hpy";
    code = 206;
    error = "cannot modify user jV2QyE2Hpy";
    temporary = 0;
}

@natanrolnik
Copy link
Contributor

@MegaEduX @aoguzhan You guys may check #430 that was merged recently and may fix this issue. Try running parse-server pointing to Head instead of the latest release, and check if it solves your problem.

@edualm
Copy link
Author

edualm commented Feb 16, 2016

@natanrolnik Downloaded latest release from GitHub, built it... The same error still happens.

@absolutlabs
Copy link

We're facing the same issue with users authenticated through -and only- Facebook : #427 .
What about you ? Did you get this error with username/password too ?

@edualm
Copy link
Author

edualm commented Feb 17, 2016

@absolutlabs: I am using Digits, using an adapted version for parse-server of this code: https://github.com/felix-dumit/PFUser-Digits/blob/master/user.js

I never tried username/password, as I don't have it setup in my app.

@myyellowshoe
Copy link

Having a similar issue with the Javascript SDK and Parse Server on Heroku.

@myyellowshoe
Copy link

It looks like mine was related to using Parse.User.current().fetch() in the Javascript SDK.
Which works, but seems like its messing with the tokens and making me unable to post changes to server.

@edualm
Copy link
Author

edualm commented Feb 18, 2016

Could be related.

Just tested with the latest commit, still not working.

@gfosco
Copy link
Contributor

gfosco commented Feb 26, 2016

This may have been fixed... please update to 2.1.3 and if you're still having a problem please open a new issue and provide as much information as possible. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants