Skip to content

Cannot modify user error when using _linkWith google auth on an existing user.. #5148

Closed
@mikecann

Description

@mikecann

Issue Description

I am following this part of the JS SDK docs:

https://docs.parseplatform.org/js/guide/#linking-1

When you attempt to do that with google auth and an existing user however you end up with the following error:

error: Cannot modify user JzDZZ4XjW5. ParseError: 206 Cannot modify user JzDZZ4XjW5.

I suspect this happens with facebook auth too.

Steps to reproduce

  1. create a new user manually with username and password.
  2. logout
  3. attempt to social-auth login with using google following the guide here: https://docs.parseplatform.org/js/guide/#linking-1

Expected Results

_linkWith should be able to modify the existing user and add the new google auth data.

Actual Outcome

error: Cannot modify user JzDZZ4XjW5.

Environment Setup

  • Server
    • parse-server version: 3.1.0
    • Operating System: Windows 10 64
    • Hardware:
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Local

Logs/Trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions