TransWikia.com

Swagger not opening in 2.3.5-p1 magento - "DateTime" parameter type is invalid

Magento Asked by Afreen Sheikh on November 5, 2021

I had a fresh installation of magento 2.3.5-p1.

But the swagger is giving error.

I checked git issues where someone has suggested to disable dotmailer modules.

I did, but still the error remains.

enter image description here

2 Answers

I had issue with updating the extension due to composer conflicts. I used following to bypass it. Just add it to the 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

Answered by Akif on November 5, 2021

Had the same issue myself, and this is due to the issue in dotmailer/dotmailer-magento2-extension as detailed here: https://github.com/magento/magento2/issues/28244. It can be resolved by upgrading that module via

composer require dotmailer/dotmailer-magento2-extension:"4.5.1 as 4.4.0"
php bin/magento setup:upgrade

Flush all the usual suspects, too: generated/*, caches, etc.

Answered by Glyn on November 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP