Vague error message on config import: Config x depends on x that will not exist after import I don't understand what is missing. It's just a simple blogpost content type that I created before I reset the db and tried to re-import it. All the modules requires are enabled and I did try to clear the cache. Run updb Tried drush cim --partial. nothing has worked. This is the error:

Import the listed configuration changes? (y/n): y
Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.                                                         [error]
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_category&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_category&lt;/em&gt; configuration that will not exist after import.
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_featured_images&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_featured_images&lt;/em&gt; configuration that will not exist after import.
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_video&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_video&lt;/em&gt; configuration that will not exist after import. in Drupal\Core\Config\ConfigImporter-&gt;validate()
(line 737 of /var/www/localvolumes/html/core/lib/Drupal/Core/Config/ConfigImporter.php).
The import failed due for the following reasons:                                                                                                             [error]
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_category&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_category&lt;/em&gt; configuration that will not exist after import.
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_featured_images&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_featured_images&lt;/em&gt; configuration that will not exist after import.
Configuration &lt;em class="placeholder"&gt;field.field.node.blog_post.field_post_video&lt;/em&gt; depends on the &lt;em
class="placeholder"&gt;field.storage.node.field_post_video&lt;/em&gt; configuration that will not exist after import.
Answering my own question, hoping it may help others. The error message above, in my case, indicates a missing configuration file. 

My workflow usually involves switching between branches and re-setting the database to its pristine state. Then I try to import the configuration before finishing a piece of work.    

It turns out I did not commit some field.storage.* configuration files before I switched branches and re-set the database. Then the import failed and complained about missing configuration. Re-reading the error messages more carefully allowed me to understand the underlying issue. 

I used my IDE (phpstorm) local history feature to search for the missing files and restore them. This fixed the issue.