Skip to content

cannot modify user function for Facebook user #104

@adamontherun

Description

@adamontherun

In iOS, with a normal (i.e. signed up with username and password) parse user, the following works:
[PFUser currentUser].username = @"newParseName";
[PFUser currentUser] save];

However, a user who authenticated via Facebook who performs

[PFUser currentUser].username = @"newFBName";
[PFUser currentUser] save];

will get the following error:

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

This 'cannot modify user function' error is returned for any changes you try to make to the current loggedin user when its a Facebook user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions