Discussions

Ask a Question
Back to all

Group PATCH request returns error: "too many" (contacts)

Hi,

i'm trying to patch the contact ids of a group with all the existing + new contacts. This works fine as long as the group is small.

But in a group with around 150 contacts the API throws an error:

array(1) { ["contacts"]=> array(1) { [0]=> array(1) { ["error"]=> string(8) "too_many" } } }

Since the patch request overrides the contacts every time its called i cannot add the contacts in intervals by let's say 50 contacts.

The only solution i see is to patch every single contact instead, to add them to the group. But this would result in a massive amount of requests.

Is there an easier way to achieve this?

Best Regards
Lars