# While to Update Cross Selling to Shopware6

**URL:** https://forum.shopware.com/t/while-to-update-cross-selling-to-shopware6/100926
**Category:** Programming (EN)
**Created:** [18. August 2023 um 07:29 UTC](https://forum.shopware.com/t/while-to-update-cross-selling-to-shopware6/100926 "2023-08-18T07:29:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![naitik.mehta](https://avatars.discourse-cdn.com/v4/letter/n/74df32/32.png) [@naitik.mehta](https://forum.shopware.com/u/naitik.mehta)
#### Post date: [18. August 2023 um 07:29 UTC](https://forum.shopware.com/t/while-to-update-cross-selling-to-shopware6/100926/1 "2023-08-18T07:29:19Z")

</div>

I have integrated Odoo ERP system with Shopware6 and now I am getting the following error when try to update the Cross Selling from Odoo to Shopware6.

{„errors“:[{„status“:„500“,„code“:„FRAMEWORK\_\_WRITE\_TYPE\_INTEND\_ERROR“,„title“:„Internal Server Error“,„detail“:„Expected command for \u0022product\_cross\_selling\u0022 to be \u0022Shopware\Core\Framework\DataAbstractionLayer\Write\Command\UpdateCommand\u0022. (Got: Shopware\Core\Framework\DataAbstractionLayer\Write\Command\InsertCommand)“,„meta“:{„parameters“:{„definition“:„product\_cross\_selling“,„expectedClass“:„Shopware\Core\Framework\DataAbstractionLayer\Write\Command\UpdateCommand“,„actualClass“:„Shopware\Core\Framework\DataAbstractionLayer\Write\Command\InsertCommand“}}}]}

Anyone has solution please? What should I need to do to resolve the above things.
