# Erstellen von Rabatt-Produktregel nicht möglich, UI lädt nicht

**URL:** <https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200>\
**Category:** Allgemein\
**Created:** [11. November 2025 um 08:30 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200 "2025-11-11T08:30:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sholzhauer](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sholzhauer](https://forum.shopware.com/u/sholzhauer)\
**Post date:** [11. November 2025 um 08:30 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/1 "2025-11-11T08:30:48Z")

</div>

Ich versuche unter Marketing → Rabatte und Aktionen in einer Rabattaktion im Tab “Rabatt” eine Produktregel anzulegen. Leider lädt das UI nicht. Siehe:

[https://support.imagcon.de/\_img/vivaldi\_OY1HcoCIuq.mp4](https://support.imagcon.de/_img/vivaldi_OY1HcoCIuq.mp4)

Was ist zu tun?

Danke!

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [11. November 2025 um 08:53 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/2 "2025-11-11T08:53:17Z")

</div>

Im Browser nachsehen, was für ein Java-Script-Fehler geworfen wird.

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sholzhauer](https://forum.shopware.com/u/sholzhauer)\
**Post date:** [11. November 2025 um 08:57 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/3 "2025-11-11T08:57:58Z")

</div>

```auto
POST https://shop.xyz.de/api/search/app-script-condition 500 (Internal Server Error)

app.js?1747820404:54 Uncaught (in promise)

r {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}

code: "ERR_BAD_RESPONSE"

config: {transitional: {…}, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, adapter: ƒ, …}

message: "Request failed with status code 500"

name: "AxiosError"

request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}

response: {data: {…}, status: 500, statusText: '', headers: {…}, config: {…}, …}

stack: "AxiosError: Request failed with status code 500\n at https://shop.xyz.de/bundles/administration/static/js/app.js?1747820404:54:12770\n at XMLHttpRequest.k (https://shop.xyz.de/bundles/administration/static/js/app.js?1747820404:54:3291)"

[[Prototype]]: Error

```

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [11. November 2025 um 09:15 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/4 "2025-11-11T09:15:20Z")

</div>

Leider absolut keine Ahnung. Zufällig irgendeine App (nicht Plugin) in Verwendung? Falls ja, mal die App deaktivieren und erneut testen.

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sholzhauer](https://forum.shopware.com/u/sholzhauer)\
**Post date:** [11. November 2025 um 09:51 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/5 "2025-11-11T09:51:26Z")

</div>

Da das Backend unter “Erweiterungen → meine Erweiterungen” nicht zwischen Apps und Erweiterungen unterscheidet, kann ich nicht sagen, was eine App und was eine Erweiterung ist.

---

<div class="post-metadata">

**Author:** ![MrAle](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MrAle](https://forum.shopware.com/u/MrAle)\
**Post date:** [11. November 2025 um 15:25 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/6 "2025-11-11T15:25:18Z")

</div>

Du kannst per ssh unter custom/apps sehen welche Apps es gibt auf deinem System und diese dann Stück für Stück deaktivieren.

Kannst du denn in der Meldung oben request öffnen und dann dort auf response, eventuell siehst du da einen Namen oder ein Entwicklerkürzel. Sehr schwer aus der Ferne da zu helfen.

Grüße

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sholzhauer](https://forum.shopware.com/u/sholzhauer)\
**Post date:** [11. November 2025 um 15:43 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/7 "2025-11-11T15:43:04Z")

</div>

response:

```auto
{
    "data": {
        "errors": [
            {
                "status": "500",
                "code": "FRAMEWORK__ASSOCIATION_NOT_FOUND",
                "title": "Internal Server Error",
                "detail": "Can not find association by name appScriptCondition",
                "meta": {
                    "parameters": {
                        "association": "appScriptCondition"
                    }
                }
            }
        ]
    },
    "status": 500,
    "statusText": "",
    "headers": {
        "access-control-allow-headers": "Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls",
        "access-control-allow-methods": "GET,POST,PUT,PATCH,DELETE",
        "access-control-allow-origin": "*",
        "access-control-expose-headers": "Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls",
        "cache-control": "no-cache, private",
        "content-type": "application/json",
        "date": "Tue, 11 Nov 2025 15:36:19 GMT",
        "server": "Apache",
        "server-timing": "",
        "sw-language-id": "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
        "vary": "User-Agent,Authorization"
    },
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/vnd.api+json",
            "Content-Type": "application/json",
            "sw-language-id": "2fbb5fe2e29a4d70aa5854ce7ce3e20b",
            "Authorization": "Bearer xxxx",
            "sw-api-compatibility": true
        },
        "baseURL": "https://shop.rigano.de/api",
        "method": "post",
        "url": "/search/app-script-condition",
        "data": "{\"page\":1,\"limit\":500,\"associations\":{\"appScriptCondition\":{\"total-count-mode\":1}},\"total-count-mode\":1}"
    },
    "request": {}
}

```

Wenn ich versuche das Request-Objekt zu kopieren, bekomme ich nur zwei geschweifte Klammern. Ansonsten noch:

```auto
{"errors":[{"status":"500","code":"FRAMEWORK__ASSOCIATION_NOT_FOUND","title":"Internal Server Error","detail":"Can not find association by name appScriptCondition","meta":{"parameters":{"association":"appScriptCondition"}}}]}

```

Ich hatte mich auch schon durch die Konsolenausgabe gearbeitet um irgendwo einen Hinweis auf ein problematisches Plugin zu finden.

Edit: Token entfernt

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [12. November 2025 um 09:02 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/8 "2025-11-12T09:02:41Z")

</div>

Durchsuche mal deinen custom bzw. vendor/store.shopware (oder so ähnlich) Ordner auf dem Server nach dem term appScriptCondition. Irgendwo wird der als Assoziation mit geladen.

Was für eine Shopware-Version nutzt du denn? Ein allgemein bekannter Bug ist das nicht?

---

<div class="post-metadata">

**Author:** ![MrAle](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MrAle](https://forum.shopware.com/u/MrAle)\
**Post date:** [12. November 2025 um 09:23 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/9 "2025-11-12T09:23:41Z")

</div>

Gab hier was:

> <https://github.com/shopware/shopware/pull/9228>
>
> \### 1. Why is this change necessary?
> Fixes the error when selecting the option …“Create new rule...” in the rule selection drop down menu.
> 
> \### 2. What does this change do, exactly?
> Remove the appScriptCondition association.
> 
> \### 3. Describe each step to reproduce the issue or behaviour.
> 
> Set up a new store on Shopware 6.6.10.2
> Create a product and go to the advanced pricing tab
> Click the drop-down menu and select “Create new rule...”
> Observe the error
> 
> 
> \### 4. Please link to the relevant issues (if any).
> \- closes #7946 
> 
> 
> \### 5. Checklist
> 
> \- \[\] I have written tests and verified that they fail without my change
> \- \[\] I have created a \[changelog file\](https://github.com/shopware/shopware/blob/trunk/adr/2020-08-03-implement-new-changelog.md) with all necessary information about my changes
> \- \[\] I have written or adjusted the documentation according to my changes
> \- \[\] This change has comments for package types, values, functions, and non-obvious lines of code
> \- \[\] I have read the contribution requirements and fulfill them.

Eventuell könnte das dein Problem sein, wenn die Version passt.

Grüße

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sholzhauer](https://forum.shopware.com/u/sholzhauer)\
**Post date:** [12. November 2025 um 11:09 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/10 "2025-11-12T11:09:48Z")

</div>

Danke für die Forschung und den Fund. Das dürfte genau der Grund für das Problem sein, die hier eingesetzte Version ist 6.6.10.4.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [12. Dezember 2025 um 11:10 UTC](https://forum.shopware.com/t/erstellen-von-rabatt-produktregel-nicht-moeglich-ui-laedt-nicht/108200/11 "2025-12-12T11:10:03Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
