Have the same issue by updating has many relations. I recieve the error like:
SqliteError: insert into 'mailing_groups_contacts_links ... 3109 as 'recipient_id' returning 'id' - too many terms in compound SELECT
Here is my case:
await strapi.entityService.implementation.update(
'api::mailing-group.mailing-group',
groupId,
{
data: {
contacts: [...thisMailGroup.contacts, newContact],
},
}
)
frontcodelover, did you solve this problem for you?