It's actually a Prisma bug. https://github.com/prisma/prisma/issues/15013#issuecomment-1381397966
Change the filter clause to the following worked.
filter: [
{
equals: {
value: { $oid: userId },
path: 'user_id',
},
},
],