> 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>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledge.themeware.design/knowledge-base/common-issues/administration/theme-cannot-be-saved.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
