1. When syncing a theme from GitHub in Shopify, an error occurred: config/settings_schema.json, Validation failed. See Figure 1.

01:57:46:
Template files received from GitHub
01:57:46:
Files retrieved
01:57:46:
Error: config/settings_schema.json, Validation failed: Section 1: settings is required, Section 1: 'theme_name' is not a valid attribute, Section 1: 'theme_version' is not a valid attribute, Section 1: 'theme_author' is not a valid attribute, Section 1: 'theme_documentation_url' is not a valid attribute, Section 1: 'theme_support_url' is not a valid attribute
01:57:46:
0 succeeded, 0 warnings, 1 failed
01:57:46:
Template updated!
2. The original Dawn configuration is as follows:
{
"name": "theme_info",
"theme_name": "Dawn",
"theme_version": "7.0.1",
"theme_author": "Shopify",
"theme_documentation_url": "https://help.shopify.com/manual/online-store/themes",
"theme_support_url": "https://support.shopify.com/"
}
3. The configuration after editing that caused the error is as follows:
{
"name": "dark",
"theme_name": "Dark",
"theme_version": "0.0.1",
"theme_author": "Qiang Wang",
"theme_documentation_url": "https://www.shuijingwanwq.com/",
"theme_support_url": "https://www.shuijingwanwq.com/"
}
4. Reference: https://shopify.dev/themes/getting-started/create#step-7-test-your-connection . Update the theme_name value to match the name you specified for the template using Shopify CLI. Change it to: dawn-20221011.
{
"name": "theme_info",
"theme_name": "dawn-20221011",
"theme_version": "0.0.1",
"theme_author": "Qiang Wang",
"theme_documentation_url": "https://help.shopify.com/manual/online-store/themes",
"theme_support_url": "https://www.shuijingwanwq.com/"
}
5. Git commit and push succeeded. See Figure 2.

6. Click Customize to open the theme editor. Next to the repository and branch names, click the menu button ⋯. In the menu, the theme name should match the value you entered in settings_schema.json. Its value is: dawn-20221011 0.0.1 Designed and supported by Qiang Wang. See Figure 3.

