Mark all contacts in a segment as "do not contact"

Your software mautic 3
My Mautic version is: 3.2
My PHP version is: 7.3

Your problem
My problem is:

I have a large list of bounce contacts in a segment, and I would like to set all contacts in that segment to “do not contact” automatically!

These errors are showing in the log:

Steps I have tried to fix the problem:

Create a campaign, where the source is your segment. The first step should be ‘Add do not contact’.
Channel: Email.


Let it run.