# Migration Assistant (The data check is running The existing data has been checked.) PROBLEM

**URL:** <https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409>\
**Category:** Shopware 6 (English)\
**Tags:** general, administration\
**Created:** [22. Juli 2022 um 07:26 UTC](https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409 "2022-07-22T07:26:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manoj](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@manoj](https://forum.shopware.com/u/manoj)\
**Post date:** [22. Juli 2022 um 07:26 UTC](https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409/1 "2022-07-22T07:26:42Z")

</div>

Hello,

My Magento migration extension successfully connected to the database. But when I start the migration, the first data check is running. The existing data has been checked. It’s almost 8 hours gone and the data is still not checked. Please let me know how long it will take to check the data. because they have more than 5,000 products and 5,000 media high resolution images etc.

 ![shopware](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/d/b/db5ccfa87a4cf682218f4f8b37ef8b050e65a33b.png)

I’m looking forward to hearing from you!

Regards,  
Manoj Kumar

---

<div class="post-metadata">

**Author:** ![manoj](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@manoj](https://forum.shopware.com/u/manoj)\
**Post date:** [25. Juli 2022 um 08:42 UTC](https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409/3 "2022-07-25T08:42:01Z")

</div>

Can anybody give suggestions?

---

<div class="post-metadata">

**Author:** ![lazerbahn](https://avatars.discourse-cdn.com/v4/letter/l/a698b9/32.png) [@lazerbahn](https://forum.shopware.com/u/lazerbahn)\
**Post date:** [26. Januar 2023 um 16:03 UTC](https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409/4 "2023-01-26T16:03:24Z")

</div>

Same for me. I started the migration process hours ago but nothing happens. It just hangs in the „data check“.

I checked the process-list for the database on Magento-side. Well, there is no activity. On the Shopware side the php-fpm is idling, too. Looks like the „data check“ is not doing anything at all.

---

<div class="post-metadata">

**Author:** ![lazerbahn](https://avatars.discourse-cdn.com/v4/letter/l/a698b9/32.png) [@lazerbahn](https://forum.shopware.com/u/lazerbahn)\
**Post date:** [27. Januar 2023 um 08:34 UTC](https://forum.shopware.com/t/migration-assistant-the-data-check-is-running-the-existing-data-has-been-checked-problem/95409/5 "2023-01-27T08:34:58Z")

</div>

I found the issue with my setup. I’m using PHP8.1 and the migration assistent imports Magento IDs as ints but expects them as string. So, there are many many errors of this type:

> must be of type string, int given, called in File.php

or

> Return value must be of type string, int returned

Those errors are not caught by the Frontend and simply lead to a hanging interface. I started to fix the issues and I was able to make the migration work.

I had to change all of the „getSourceIdentifier“ methods to cast the return value to string. Plus, there were many calls to MappingServiceInterface::getOrCreateMapping where I needed to cast the id-parameters to strings.
