thehcginstitute-com / m1

thehcginstitute.com/store (OpenMage LTS 19.5.2)
https://upwork.com/fl/mage2pro
0 stars 0 forks source link

`Ebizmarts_MailChimp`: «lines.item:0.product_variant_id : Schema describes string, integer found instead» #585

Closed dmitrii-fediuk closed 5 months ago

dmitrii-fediuk commented 5 months ago

Similar to https://github.com/thehcginstitute-com/m1/issues/584

[
    Mage2.PRO: [
        Command: cron.php -mdefault
        OpenMage: 19.5.2
        PHP: 7.4.33
    ]
    batch_id: vwbmih43k5
    errors: lines.item:0.product_id : Schema describes string, integer found instead / lines.item:0.product_variant_id : Schema describes string, integer found instead
    mailchimp_store_id: www.thehcginstitute.com_2017-03-05-013122
    message: Invalid Resource : The resource submitted could not be validated. For field-specific details, see the 'errors' array.
    operation_id: storeid-1_ORD_2024-04-22-06-35-06-14871000_17814
    original_id: 17814
    regtype: ORD
    response: {"type":"https://mailchimp.com/developer/marketing/docs/errors/","title":"Invalid Resource","status":400,"detail":"The resource submitted could not be validated. For field-specific details, see the 'errors' array.","instance":"","errors":[{"field":"lines.item:0.product_id","message":"Schema describes string, integer found instead"},{"field":"lines.item:0.product_variant_id","message":"Schema describes string, integer found instead"}]}
    status: 400
    status_code: 400
    store_id: 1
    title: Invalid Resource
    type: https://mailchimp.com/developer/marketing/docs/errors/
]

1   df_log
    app/code/local/Df/Qa/lib/log.php:31

2   HCG\MailChimp\Batch\HandleErrorItem::p
    app/code/local/HCG/MailChimp/Batch/HandleErrorItem.php:55

3   HCG\MailChimp\Batch\ProcessEachResponseFile::p
    app/code/local/HCG/MailChimp/Batch/ProcessEachResponseFile.php:26

4   HCG\MailChimp\Batch\GetResults::_saveItemStatus
    app/code/local/HCG/MailChimp/Batch/GetResults.php:55

5   HCG\MailChimp\Batch\GetResults::p
    app/code/local/HCG/MailChimp/Batch/GetResults.php:32

6   HCG\MailChimp\Batch\Subscriber::p
    app/code/local/HCG/MailChimp/Batch/Subscriber.php:26

7   Ebizmarts_MailChimp_Model_Cron::syncSubscriberBatchData
    app/code/community/Ebizmarts/MailChimp/Model/Cron.php:22

8   Aoe_Scheduler_Model_Observer::dispatch
    app/code/community/Aoe/Scheduler/Model/Observer.php:66

9   Mage_Core_Model_App::_callObserverMethod
    app/code/core/Mage/Core/Model/App.php:1399

10  Mage_Core_Model_App::dispatchEvent
    app/code/core/Mage/Core/Model/App.php:1377

11  Mage::dispatchEvent
    app/Mage.php:508