# Unable to upload csv in contact

**URL:** <https://forum.mautic.org/t/unable-to-upload-csv-in-contact/22983>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [March 10, 2022, 9:41am UTC](https://forum.mautic.org/t/unable-to-upload-csv-in-contact/22983 "2022-03-10T09:41:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atsatli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/atsatli/32/6823_2.png) [@atsatli](https://forum.mautic.org/u/atsatli)\
**Post date:** [March 10, 2022, 9:41am UTC](https://forum.mautic.org/t/unable-to-upload-csv-in-contact/22983/1 "2022-03-10T09:41:26Z")

</div>

**Your software**  
My Mautic version is: v4.2.0  
My PHP version is: PHP Version 7.4.25  
My Database type and version is: 10.3.32-MariaDB

**Your problem**  
My problem is: unable to upload csv or import and even i click on channel-\>email  
it shows me 500 error broke down

error log:  
[2022-03-10 09:36:42] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: “An exception occurred while executing ‘SELECT COUNT(DISTINCT(l.id)) as count FROM leads l LEFT JOIN users u ON u.id = l.owner\_id INNER JOIN email\_stats es ON l.id = es.lead\_id WHERE ((es.email\_id = ?) AND (es.is\_read = ?)) AND (l.date\_identified IS NOT NULL)’ with params [“21”, 1]: SQLSTATE[HY000]: General error: 1030 Got error 194 “Tablespace is missing for a table” from storage engine InnoDB” at /opt/bitnami/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {“exception”:"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing ‘SELECT COUNT(DISTINCT(l.id)) as count FROM leads l LEFT JOIN users u ON u.id = l.owner\_id INNER JOIN email\_stats es ON l.id = es.lead\_id WHERE ((es.email\_id = ?) AND (es.is\_read = ?)) AND (l.date\_identified IS NOT NULL)’ with params [“21”, 1]:\n\nSQLSTATE[HY000]: General error: 1030 Got error 194 “Tablespace is missing for a table” from storage engine InnoDB at /opt/bitnami/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128, Doctrine\DBAL\Driver\PDO\Exception(code: HY000): SQLSTATE[HY000]: General error: 1030 Got error 194 “Tablespace is missing for a table” from storage engine InnoDB at /opt/bitnami/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: HY000): SQLSTATE[HY000]: General error: 1030 Got error 194 “Tablespace is missing for a table” from storage engine InnoDB at /opt/bitnami/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:112)"}

what i can do to solve this
