Skip to content

Parse.Object.saveAll Failing When PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS=0 #3197

Closed
@listingboat

Description

@listingboat

Using parse-server 2.2.5 with Node 7.2

I've completed the refactor to remove Parse.Cloud.useMasterKey() and use {userMasterKey:true} in the save and saveAll calls.

This all works fine when PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS=1

If I turn it off, then the saveAll(objectsToSave, {useMasterKey: true}), I get this error:

error: Error handling request: ParseError {
  code: 107,
  message: 'cannot route PUT \\classes\\_User\\01dJFUbNLz' } code=107, message=cannot route PUT \classes\_User\01dJFUbNLz
URL: /parse/batch

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