How-To

Dotdigital cron tasks have errors (ddg_automation): how to fix

The Magento banner "One or more of your dotdigital cron tasks have errors" means the Dotdigital extension found failed ddg_automation jobs. Query cron_schedule for the stored message, read var/log, then fix cron, API credentials or the module version. Disabling the module only hides the banner.

Sohail HussainSohail Hussain8 min read

Short answer

  • The banner is only a symptom. Query the cron_schedule table for rows where job_code starts with ddg_automation and status is error, then read the messages column and var/log to find the real cause.
  • The usual causes are Magento cron not running as the right user, rejected Dotdigital API credentials, or a module that no longer matches your Magento version.
  • Disabling the module hides the banner but stops all Dotdigital syncing, so treat it as a stopgap only.

Magento's admin shows One or more of your dotdigital cron tasks have errors: ddg_automation_customer_subscriber_guest_sync, ddg_automation_status, ddg_automation_reviews_and_wishlist, ddg_automation_catalog_sync, ddg_automation_importer, ddg_automation_campaign, ddg_automation_order_sync, ddg_automation_monitor, ddg_automation_abandonedcarts. The original reports came from Magento 2.4.1 in 2021, right after an update. The steps below still apply to current installs, but check version-specific details against your own setup as of November 2026.

We don't make or support the Dotdigital connector, so this is general Magento cron troubleshooting, not vendor documentation.

Why the banner appears

Magento runs scheduled work through a database table called cron_schedule. Each run of each job gets a row with a status such as pending, running, success, missed or error. The Dotdigital extension registers jobs whose codes start with ddg_automation_ and, as far as I can tell, raises the banner when one of them has ended in error.

Two things follow from that:

  • A long list does not mean nine separate problems. If cron as a whole is broken, or Dotdigital rejects the API login, every job can fail at once.
  • An old error row can keep the banner up even after later runs succeed, until that row is cleaned out.

Beyond that, the reports are thin. People on Magento's community forums said the problem appeared after an update, and one poster said it was filed as a Magento bug (#32951). I can't confirm that bug's current status, so search for the number in the magento/magento2 GitHub repository and read it yourself. The same poster disabled the module to make the banner go away, which is a workaround and not a fix.

Likely causeWhat you seeFix
Cron not running or wrong userOther jobs also missed or stuck, permission errors in var/logReinstall crontab as the file owner
API credentials rejectedMessages mention authorization or an invalid API userRe-enter credentials at the right scope
Module and Magento version mismatchStarted right after an upgrade; PHP errors in exception.logUpdate the extension, run setup:upgrade
Memory or timeout on large syncsAllowed memory size exhausted or timeouts in logRaise the CLI memory_limit
Stale error rowsEverything works but the banner staysDelete old error rows after fixing the cause

Read the actual error first

Pull the stored message from the database. This tells you which row of the table above you are in.

SELECT job_code, status, scheduled_at, executed_at, messages
FROM cron_schedule
WHERE job_code LIKE 'ddg_automation%'
  AND status = 'error'
ORDER BY scheduled_at DESC
LIMIT 20;

Then open the files in var/log (usually system.log, exception.log and cron.log) and look at the entries around each executed_at time.

Users on Reddit also asked whether Magento has an admin view of error logs. The answer was that the Dotdigital module has its own log viewer. I haven't confirmed the menu path in current versions, so use the admin search box for "dotdigital" instead of trusting a click path.

Step-by-step fixes

Fix 1: make sure Magento cron runs

If other jobs, not just ddg_automation_*, show missed or never reach success, cron is your problem.

  1. Check that the crontab entry exists for the file system owner, not root. Replace www-data with whoever owns your Magento files.

    crontab -l -u www-data
    
  2. If it is missing, install it from the Magento root as that same user.

    bin/magento cron:install
    
  3. Run cron once by hand and watch for output.

    bin/magento cron:run
    
  4. Wait a few minutes, then rerun the SQL above without the status filter and check that new rows reach success.

Wrong ownership is a classic trap. If cron runs as a different user than the web server, it can fail to write to var/ or generated/, and the log will show permission errors.

Fix 2: check the Dotdigital API connection

If the message mentions authorization, an invalid API user or a failed request, the module can't reach Dotdigital.

  1. Open the Dotdigital configuration section in the Magento admin and re-enter the API username and password for the right website scope.
  2. Use the module's connection test if it offers one.
  3. Confirm the server can make outbound HTTPS calls. A firewall or egress change after a hosting move is a common cause.
  4. Compare scopes. Credentials set at default scope but missing at website scope can fail jobs for that site only.

Check the scope

If only one store view or website fails, look at its scope-level settings before anything else. A blank or overridden credential field there is easy to miss.

Fix 3: match the module to your Magento version

If the banner appeared right after an upgrade, update the extension first.

  1. Check what you run.

    composer show | grep -i dotdigital
    bin/magento --version
    
  2. Update the Dotdigital extension to the latest release that supports your Magento version.

  3. Apply the changes.

    bin/magento setup:upgrade
    bin/magento cache:flush
    

Magento 2.4.1 is long past end of support. If you are still on it, plan an upgrade, because newer connector releases may require a newer Magento.

Fix 4: raise limits for big syncs

Importer and catalog sync jobs touch a lot of data. If the log shows Allowed memory size exhausted or a timeout, raise memory_limit and max_execution_time in the PHP CLI configuration. The CLI php.ini is often separate from the web one, so changing only the web setting does nothing for cron. A large catalog on the first sync is the usual trigger.

Clear the banner after the fix

Old error rows can keep the banner alive. Magento cleans cron history on its own schedule (the history settings sit under Stores > Configuration > Advanced > System), but you can remove the stale rows yourself. Back up the database first.

DELETE FROM cron_schedule
WHERE job_code LIKE 'ddg_automation%'
  AND status = 'error';

Wait for the next cron cycle. If the banner returns, the cause isn't fixed; read the new messages value.

Disabling is a stopgap

Turning the module off stops contact, order, abandoned cart and catalog syncing to Dotdigital. Your audiences go stale quietly, so re-enable it once the real fix is in.

If you must disable it temporarily:

bin/magento module:disable Dotdigitalgroup_Email
bin/magento setup:upgrade
bin/magento cache:flush

Re-enable later with bin/magento module:enable Dotdigitalgroup_Email, then run setup:upgrade and cache:flush again.

Checklist before you try again

  • Crontab exists for the file system owner and cron:run produces no errors
  • Fresh rows in cron_schedule reach success for non-Dotdigital jobs
  • API credentials are valid at the right website scope
  • The server can reach Dotdigital over HTTPS
  • The extension is on a release that supports your Magento version
  • CLI memory_limit is high enough for catalog sync
  • Old error rows are deleted and the banner has had one full cron cycle to return

If nothing works

Escalate once cron is healthy, the module is current and the Magento version is supported. Contact Dotdigital support for the connector, or open an issue in the module's repository if you have a reproducible bug. Include:

  • The full banner text and your Magento and module versions
  • The messages column from the failing rows, with timestamps
  • Matching lines from var/log/exception.log and the module's log viewer
  • Whether the failure hits all websites or one scope
  • What you already tried from this page
Subject: ddg_automation cron jobs in error on Magento {version}

Magento admin shows "One or more of your dotdigital cron tasks have errors"
for the ddg_automation_* jobs. Magento version: {version}. Dotdigital module
version: {version}. Cron runs as {user} and other jobs reach success.

Attached: cron_schedule rows with status error (messages column, timestamps),
the matching exception.log lines, and the scope(s) affected.

Already tried: re-entered API credentials, updated the module, ran
setup:upgrade, deleted stale error rows. The banner returned after {time}.

Common questions

Does one failed job mean everything is broken?

Not necessarily. The banner lists every ddg_automation_* job with an error row, and a single shared cause such as bad credentials or broken cron can produce all of them. Fix the shared cause first and recheck.

Is it safe to delete rows from cron_schedule?

Deleting old error rows for these jobs is routine, since the table is history and queue, not data. Back up the database first and only delete after you've fixed the cause, or the rows come right back.

Why does the banner stay after the fix?

Old error rows can still be in the table. Delete them with the query above, or wait for Magento's own history cleanup, then give cron one full cycle.

Is this a Magento bug or a Dotdigital bug?

One 2021 poster says it was filed as Magento bug #32951; I can't verify its status. Search the magento/magento2 GitHub repository for it, and if your messages point to a different error, treat that message as the real lead.

automationdotdigitalerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

How-To

Drip Zapier error: "Could not locate the bindings file"

This Zapier error points to a problem inside the Drip app's code, where a compiled native module (the deasync bindings file) could not be found. Your Zap settings are not the likely cause. Replay the run, check Zapier's status page, and send the run details to Zapier support if it repeats.

Sohail Hussain|7 min read
How-To

Lemlist Trigger: 404 - {} in n8n: fix and Make errors

"Lemlist Trigger: 404 - {}" in n8n usually means the trigger could not register its webhook with lemlist. On self-hosted n8n, set WEBHOOK_URL to a public HTTPS address, restart, and re-activate the workflow. If that fails, re-check the API key and the campaign you selected.

Sohail Hussain|9 min read
How-To

Mailchimp Omnivore account suspended: triggers and review fix

Omnivore is Mailchimp's automated abuse-prevention system. It suspends accounts when it flags a list or content, often at send time. You can't switch it off. Reply to the suspension notice with proof of how each contact opted in, keep everything in one ticket, and follow up through support chat.

Sohail Hussain|8 min read
How-To

Marketing Cloud "General System Error" in Automation Studio SQL

In Salesforce Marketing Cloud, "General System Error" on an Automation Studio SQL activity is a catch-all message that often hides an ordinary syntax or schema mistake. Validate the query, check field types and lengths, run it in pieces, then try another browser or a cleared cache. If it persists, contact Salesforce support.

Sohail Hussain|8 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free