> For the complete documentation index, see [llms.txt](https://knowledge.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.themeware.design/knowledge-base/common-issues/administration/theme-cannot-be-saved.md).

# Theme cannot be saved

## Description

The theme cannot be saved – for example, after a Shopware update – so your changes will not be applied.

## Cause

The cause is stated in the accompanying error message. Usually, you have configured a configuration field incorrectly.

Potential error messages:

* [Invalid configuration](/knowledge-base/common-issues/administration/invalid-configuration.md)
* [$color: 0 is not a color](/knowledge-base/common-issues/administration/color-0-is-not-a-color.md)
* [$color2: 0 is not a color](/knowledge-base/common-issues/administration/color2-0-is-not-a-color.md)
* [Error: argument '$color'](/knowledge-base/common-issues/administration/error-argument-color.md)
* [Parse error: failed at $...](/knowledge-base/common-issues/administration/parse-error.md)
* [SCSS Value "..." is not valid for type "color"](/knowledge-base/common-issues/administration/scss-value-...-is-not-valid-for-type-color.md)

{% hint style="info" %}
**Further causes**

Another type of incorrect configuration is an incorrectly written or incorrectly used variable. This usually results in the following error message:

* [Undefined variable $...](/knowledge-base/common-issues/administration/undefined-variable.md)
* [Error 400 / Theme cannot be saved](/knowledge-base/common-issues/administration/error-400-theme-cannot-be-saved.md)

In addition, server performance can also be a problem when saving. This manifests itself in the following error:

* [Error 500 / Themes cannot be saved](/knowledge-base/common-issues/administration/error-500-themes-cannot-be-saved.md)
  {% endhint %}

## Solution

All you need to do is correct the relevant configuration field. The error message may indicate which configuration field is affected.

You can alternatively validate your configuration:

{% content-ref url="/pages/0Xhpx5WQ1e9ety7qCHJW" %}
[Validate the theme configuration](/knowledge-base/tutorials/debugging/validate-the-theme-configuration.md)
{% endcontent-ref %}

> **Why hasn't this error been noticed before?**
>
> You may not have noticed this error in Shopware 6.6. However, with Shopware 6.7, the validation of the theme configuration has been significantly improved so that even minor typos are now reliably detected.

#### Issue not solved?

If you could not solve the problem, simply start the ThemeWare® Debugging. You can open a support ticket in case you are not able to solve the problem yourself:

{% embed url="<https://debugging.themeware.design/en>" %}
