Move Layer to Front through batch-play works differently in PS 23.4.1

So no matter how I try, I still get that command is not available…
Here are my descriptors:

[
    {
        "_obj": "select",
        "_target": [{"_ref": "layer", "_id": 2}],
        "makeVisible": false
    },
    {
        "_obj": "make",
        "new": {"_class": "channel"},
        "at": {"_ref": "channel", "_enum": "channel", "_value": "mask"},
        "using": {"_enum": "userMaskEnabled", "_value": "revealAll"}
    },
    {
        "_obj": "select",
        "_target": [{"_ref": "layer", "_id": 3}],
        "makeVisible": false
    },
    {
        "_obj": "make",
        "new": {"_class": "channel"},
        "at": {"_ref": "channel", "_enum": "channel", "_value": "mask"},
        "using": {"_enum": "userMaskEnabled", "_value": "revealAll"}
    },
    {
        "_obj": "select",
        "_target": [{"_ref": "layer", "_id": 2}],
        "makeVisible": false
    },
    {
        "_obj": "select",
        "_target": [{"_ref": "layer", "_id": 3}],
        "makeVisible": false,
        "selectionModifier": {
            "_enum": "selectionModifierType",
            "_value": "addToSelection"
        }
    }
]

No matter if I execute them in a single BP or one by one I get the responses for them:

[
    {},
    {
        "_obj": "error",
        "message": "The command “Make” is not currently available.",
        "result": -25920,
        "failedDescriptor": {
            "_obj": "make",
            "new": {"_class": "channel"},
            "at": {"_ref": "channel", "_enum": "channel", "_value": "mask"},
            "using": {"_enum": "userMaskEnabled", "_value": "revealAll"}
        }
    },
    {},
    {
        "_obj": "error",
        "message": "The command “Make” is not currently available.",
        "result": -25920,
        "failedDescriptor": {
            "_obj": "make",
            "new": {"_class": "channel"},
            "at": {"_ref": "channel", "_enum": "channel", "_value": "mask"},
            "using": {"_enum": "userMaskEnabled", "_value": "revealAll"}
        }
    },
    {},
    {}
]

Have to note, that none of the layers have any masks while trying to create one. Also, as mentioned previously, very very rarely it works as expected - masks are created (both in a single BP and in a separate calls)

Win10
Ps 23.4.1
API v2
Manifest v4