# Theme could not be assigned to sales channel

## Description

When assigning the theme to a sales channel, the error message "**Theme could not be assigned to Sales Channel.**" appears.

## Cause

Unfortunately, the error message is not very significant. A more detailed error message is needed to solve the problem.

## Solution

How to get a detailed error message please find in the article [debugging-error-messages](https://knowledge.themeware.design/knowledge-base/tutorials/debugging/debugging-error-messages "mention").

{% hint style="info" %}
**Note**: In our experience, the **PHP memory\_limit** is usually the cause of such problems. More information can be found in the article [allowed-memory-size-exhausted](https://knowledge.themeware.design/knowledge-base/common-issues/administration/allowed-memory-size-exhausted "mention").
{% endhint %}

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