Update many in array with fiter

Hi
I have the following collection in mongodb

Each collection has an array of components and each component has an array of rows
I want to remove the row with id = ServiceInstanceName

I have this script

</>
db.product_automation_bk20230726_testmigration.updateMany(
{“components.rows._id”:{$eq:“ServiceInstanceName”}},
{$pull:{“components.$[outer].rows”}: { _id: “ServiceInstanceName” }},
{ “arrayFilters”: [
{ “outer.name”: { $ne: null} }
]
});

</>

But I received the error
Error: clone(t={}){const r=t.loc||{};return e({loc:new Position("line"in r?r.line:this.loc.line,"column"in r?r.column:……)} could not be cloned.

Do you have any advice?