Skip to main content

How to change Drupal site uuid

Posted on March 10, 2022


This is the error message you see when trying to import configuration on Drupal 8 or 9.

Site UUID in source storage does not match the target storage



Update the site UUID with the following command.

drush cset uuid "[UUID_FROM_CONFIG_FILE]"

Replace UUID_FROM_CONFIG_FILE with the uuid from config file.