# Shopware 6 Migration Assistant - Nur Fehler beim Import

**URL:** <https://forum.shopware.com/t/shopware-6-migration-assistant-nur-fehler-beim-import/95711>\
**Category:** Shopware 6 (German)\
**Tags:** general, installation--gettin, administration, programming, other, offizielle-shopware-\
**Created:** [8. August 2022 um 20:45 UTC](https://forum.shopware.com/t/shopware-6-migration-assistant-nur-fehler-beim-import/95711 "2022-08-08T20:45:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NF-DE](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@NF-DE](https://forum.shopware.com/u/NF-DE)\
**Post date:** [8. August 2022 um 20:45 UTC](https://forum.shopware.com/t/shopware-6-migration-assistant-nur-fehler-beim-import/95711/1 "2022-08-08T20:45:04Z")

</div>

Guten Tag Zusammen,

aktuell bin ich bei der Umstellung meines Shops [www.x-y.de](http://www.x-y.de) auf [www.a-b.de](http://www.a-b.de).  
Beides sind aktuelle Shopware 6.4.13.0 & 6.4.14.0 Systeme.  
Das Tool ist installiert wie in den Docs vorgegeben (auf beiden Seiten) und entsprechend konfiguriert.  
Auch der Verbindungsaufbau funktioniert und die Kategorien werden übertragen.  
Leider aber sonst nichts, Kunden, Bestellungen, Newsletter, Media alles geht nicht.

Anbei mein Vorhaben:  
Connection id: 7c5e2c16619d458889c8cb60fbc76085  
Connection name: NFtoNR  
Profile: shopware63  
Gateway: api

Selected data:

- basicSettings (total: 1022)
  - language (total: 30)
  - currency (total: 1)
  - unit (total: 3)
  - media\_folder (total: 10)
  - media\_folder\_inheritance (total: 0)
  - category (total: 39)
  - category\_association (total: 31)
  - country (total: 250)
  - country\_state (total: 291)
  - salutation (total: 4)
  - customer\_group (total: 1)
  - custom\_field\_set (total: 3)
  - rule (total: 27)
  - snippet\_set (total: 30)
  - snippet (total: 15)
  - mail\_template (total: 34)
  - delivery\_time (total: 5)
  - shipping\_method (total: 4)
  - sales\_channel (total: 2)
  - sales\_channel\_domain (total: 3)
  - system\_config (total: 223)
  - product\_sorting (total: 5)
  - order\_document\_base\_config (total: 4)
  - number\_range (total: 7)

- products (total: 452)
  - tax (total: 3)
  - tax\_rule (total: 75)
  - property\_group (total: 4)
  - product\_feature\_set (total: 2)
  - product\_manufacturer (total: 51)
  - product (total: 214)
  - main\_variant\_relation (total: 0)
  - product\_stream (total: 11)
  - product\_stream\_filter\_inheritance (total: 26)
  - product\_cross\_selling (total: 66)

- media (total: 299)
  - media (total: 299)

- promotions (total: 987)
  - customer (total: 984)
  - promotion (total: 3)

- customersOrders (total: 2054)
  - order (total: 936)
  - order\_document (total: 1050)
  - order\_document\_inheritance (total: 68)

- productReviews (total: 80)
  - product\_review (total: 80)

- cms (total: 60)
  - cms\_page (total: 15)
  - category\_cms\_page\_association (total: 39)
  - page\_system\_config (total: 6)

- newsletterRecipient (total: 19)
  - newsletter\_recipient (total: 19)

- seoUrls (total: 1040)
  - seo\_url\_template (total: 5)
  - seo\_url (total: 1035)

- processMediaFiles (total: 1756)
  - media (total: 1756)

Dazugehörige Fehler:  
[error] SWAG\_MIGRATION\_\_WRITE\_EXCEPTION\_OCCURRED  
A write exception has occurred  
{  
„entity“: „product“,  
„dataId“: „d581405acca44574a68e9ac018333c66“,  
„error“: {  
„code“: „FRAMEWORK\_\_WRITE\_CONSTRAINT\_VIOLATION“,  
„status“: „400“,  
„detail“: „This field is write-protected.“,  
„template“: „This field is write-protected.“,  
„meta“: {  
„parameters“: [  
„system“,  
„“  
]  
},  
„source“: {  
„pointer“: „/12/streamIdsstreamIds“  
}  
}  
}

[error] SWAG\_MIGRATION\_RUN\_EXCEPTION  
An exception occurred  
Entity: product, sourceId: a97bca01ee4f49ba9c8d9ac9092f0227  
There are 1 error(s) while writing data.1. [/0/streamIdsstreamIds] This field is write-protected.

[error] SWAG\_MIGRATION\_\_WRITE\_EXCEPTION\_OCCURRED  
A write exception has occurred  
{  
„entity“: „product“,  
„dataId“: „dc4df726f2694ba5909df775a2cd575a“,  
„error“: {  
„code“: „FRAMEWORK\_\_WRITE\_CONSTRAINT\_VIOLATION“,  
„status“: „400“,  
„detail“: „This field is write-protected.“,  
„template“: „This field is write-protected.“,  
„meta“: {  
„parameters“: [  
„system“,  
„“  
]  
},  
„source“: {  
„pointer“: „/7/streamIdsstreamIds“  
}  
}  
}

[error] SWAG\_MIGRATION\_RUN\_EXCEPTION  
An exception occurred  
Entity: product\_cross\_selling, sourceId: db832e0e0283483c9886ab4d2108143d  
An exception occurred while executing ‚INSERT INTO `product_cross_selling` (`id`, `product_id`, `product_version_id`, `position`, `sort_by`, `sort_direction`, `type`, `active`, `limit`, `created_at`) VALUES (‚B5Du‘,‚x!aO#z‘,‚jKKu,4%‘,‚1‘,‚name‘,‚ASC‘,‚productList‘,‚1‘,‚24‘,‚2022-08-08 20:02:28.655‘);‘:SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`dbs8250141`.`product_cross_selling`, CONSTRAINT `fk.product_cross_selling.product_id` FOREIGN KEY (`product_id`, `product_version_id`) REFERENCES `product` (`id`, `version_id`) ON DELETE CASC)

[error] SWAG\_MIGRATION\_RUN\_EXCEPTION  
An exception occurred  
Entity: order\_document, sourceId: 96f2326d22c844b4bad86c1a9dc69dda  
An exception occurred while executing ‚INSERT INTO `document` (`id`, `document_type_id`, `order_id`, `document_media_file_id`, `order_version_id`, `file_type`, `config`, `sent`, `static`, `deep_link_code`, `created_at`) VALUES (‘[D’,‚\_WH#‘,‚INtPZ‘,‚W ~MstuWO‘,‚jKKu,4%‘,‚pdf‘,'{"id":"e677819a10b741509e57ae49e168e3af","logo":{"id":"fc8f3169ae8a43648266bc6dd607ade3","alt":null,"url":"https:\/\/homepage\/media\/8f\/63\/6b\/1609351952\/firmenlogo.png","tags":null,"user":null,"title":null,"userId":"8ff10bd3a3e2462a92e4a52a77312dbd","hasFile":true,"private":false,"cmsPages":null,"fileName":"Firmenlogo","fileSize":55682,"metaData":{"type":3,"width":360,"height":253},"mimeType":"image\/png","cmsBlocks":null,"createdAt":"2020-12-30T18:12:31.697+00:00","documents":null,"mediaType":{"name":"IMAGE","flags":["transparent"],"extensions":},"updatedAt":"2020-12-30T18:12:32.276+00:00","versionId":null,"avatarUser":null,"categories":null,"extensions":{"foreignKeys":{"apiAlias":null,"extensions":},"internal\_mapping\_storage":{"apiAlias":null,"extensions":}},"thumbnails":,"translated":{"alt":null,"title":null,"customFields":},"uploadedAt":"2020-12-30T18:12:32.266+00:00","cmsSections":null,"mediaFolder":null,"customFields":null,"productMedia":null,"thumbnailsRo":"O:77:\"Shopware\\Core\\Content\\Media\\Aggregate\\MediaThumbnail\\MediaThumbnailCollection\":2:{s:11:\"\u0000\*\u0000elements\";a:0:{}s:13:\"\u0000\*\u0000extensions\";a:0:

[error] SWAG\_MIGRATION\_RUN\_EXCEPTION  
An exception occurred  
Entity: media, sourceId: fc9834038a5e46389a17442a21c3ef85  
The File for media object with id: fc9834038a5e46389a17442a21c3ef85 is not supported for creating thumbnails.

[warning] SWAG\_MIGRATION\_CANNOT\_GET\_MEDIA\_FILE  
The media file cannot be downloaded / copied  
The media file with the uri homepagelink/api/\_action/document/94b03a44646240e8905abbebce2558ea/iD0kATip0FiYcBjb5Xyz5zCsWxRDYRNH" and media id „c5f5085323554e72902fbe2818995b89“ cannot be downloaded / copied.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/5/3/530b4fc583b57804ce60a8ee86fa64b4e25eb176.png)

Kann uns hierzu wer unterstützen ?

Besten Dank!
