Improve response when an error occurs during import