Magento 2.x – fix “Import failed: Unable to unserialize value, string is corrupted.” when app:config:import


If you are trying to import the configuration of your store withing the CLI interface with the app:config:import command, and you are facing the Import failed: Unable to unserialize value, string is corrupted. error message, you should be aware that it’s related due to a large enough configuration file, so, to fix it, you will need to perform the following change on your database: