Skip to content

[Error]: cannot modify user function () Attempting to update the _User table #360

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

Closed
CaseyTeeps opened this issue Feb 11, 2016 · 1 comment

Comments

@CaseyTeeps
Copy link

Example Using:
[[PFUser currentUser] setObject:[NSNumber numberWithBool:NO] forKey:@"inOffice"]; [[PFUser currentUser] saveInBackground];

Log output:
[Error]: cannot modify user function () { return this.data.objectId || this.query.objectId; } (Code: 206, Version: 1.12.0)

iOS obj-c
Hosting the current parse-server-example on mongolab/heroku
Parse-server 2.0.7

@gfosco
Copy link
Contributor

gfosco commented Feb 11, 2016

This error message will be fixed in 2.0.8, a change landed in #254. But what the error intends to say is that you don't have permission to save the user, as if you have been logged out / your session is no longer valid. This could point to some other issue, but you'd need to investigate further.

@gfosco gfosco closed this as completed Feb 11, 2016
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

2 participants