Civirules api action exception: Mandatory key(s) missing from params array
Cannot make the civirule to work.
Civicrm 5.64.4
We are trying to created a civirule to send an email to all clients who have an active case every monday morning.
Our main cron job is fired like this: /usr/bin/php /usr/local/bin/cv api job.execute --user=admin --cwd=/var/www/clients/client1/web1/web
Here the error
[error] Civirules api action exception: Mandatory key(s) missing from params array: contact_id. API call: Email.send with params: from_name="Services aux clients", from_email="xxx@xxx.xxx", template_id="305", disable_smarty="", location_type_id="", from_email_option="14", alternative_receiver_address="xxx@xxx.xxx", cc="", bcc="", file_on_case="", contact_id="", extra_data="Array", case_id="3009"