Running the very basic SOAP request to list all services:


I get

The "\DateTime" parameter type is invalid. Verify the parameter and try again.

enter image description here

  • This only happened after upgrading to Magento 2.3.5 from 2.3.2 May 15 '20 at 12:12

This is caused by a Dotmailer bug: https://github.com/dotmailer/dotmailer-magento2-extension/issues/560

Upgrade or remove the module.


I had issue with updating the extension due to composer conflicts. I used following to bypass it. Just add this to composer.json file.

"replace": {
        "dotmailer/dotmailer-magento2-extension": "*",
        "dotmailer/dotmailer-magento2-extension-package": "*",
        "dotmailer/dotmailer-magento2-extension-enterprise": "*",
        "dotmailer/dotmailer-magento2-extension-chat": "*"

And run

composer install

Source: https://github.com/magento/magento2/issues/28244#issuecomment-630077997

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.