Skip to content

Parse.Object.saveAll() does not propagate sessionToken for all objects being saved #3665

Closed
@rdbayer

Description

@rdbayer

When calling Parse.Object.saveAll(array, {sessionToken: request.user.getSessionToken()}), only the first object would be saved successfully, while later objects would encounter an 'Object not found' error.

If I instead do a Parse.Promise.when where I save each object individually with the sessionToken, it works fine. Another workaround is using {useMasterKey: true} instead of the session token.

Neither of these workarounds should be necessary though.

Metadata

Metadata

Assignees

Labels

type:questionSupport or code-level question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions