# Error 500 when importing contacts from csv file

**URL:** <https://forum.mautic.org/t/error-500-when-importing-contacts-from-csv-file/24876>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [July 26, 2022, 2:43pm UTC](https://forum.mautic.org/t/error-500-when-importing-contacts-from-csv-file/24876 "2022-07-26T14:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/malt/32/6285_2.png) [@malt](https://forum.mautic.org/u/malt)\
**Post date:** [July 26, 2022, 2:43pm UTC](https://forum.mautic.org/t/error-500-when-importing-contacts-from-csv-file/24876/1 "2022-07-26T14:43:31Z")

</div>

When trying to import additional contacts from a csv file, I have error page 500.

There is the following error in the logs:

> mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “strpos() expects parameter 1 to be string, int given” at /home/user/public\_html/mautic/app/bundles/LeadBundle/EventListener/ImportContactSubscriber.php line 199 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): strpos() expects parameter 1 to be string, int given at /home/user/public\_html/mautic/app/bundles/LeadBundle/EventListener/ImportContactSubscriber.php:199)”} {“hostname”:“l2.host.pl”,“pid”:8660}

---

<div class="post-metadata">

**Author:** ![martinus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/martinus/32/433_2.png) [@martinus](https://forum.mautic.org/u/martinus)\
**Post date:** [September 22, 2022, 5:47pm UTC](https://forum.mautic.org/t/error-500-when-importing-contacts-from-csv-file/24876/2 "2022-09-22T17:47:21Z")

</div>

Hey @malt, here is the solution: [Fix import errors when Don't override value is enabled by biozshock · Pull Request #11350 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/11350)
