Cannot create custom objectId via rest API


I’ve been trying to create a new object with a custom objectID via rest API, with the body something like:

  requests: [
      path: "/parse/classes/UserInfo"
      method: "POST",
      body: {
        objectId: "1337",
        gamesWon: 2

But i’m getting an error stating that “objectId is an invalid field name.”. I read on Allow saving with custom objectId · Issue #1097 · parse-community/Parse-SDK-JS · GitHub that custom objectIds are available via rest API, and was wondering if I was doing something wrongly?

Thanks in advance!

Have you enabled custom object id in your parse server using allowCustomObjectId option?