# Fehlermeldung beim Löschen eines Artikels im Warenkorb

**URL:** https://forum.shopware.com/t/fehlermeldung-beim-loschen-eines-artikels-im-warenkorb/43870
**Category:** Allgemein
**Created:** [20. Februar 2017 um 14:44 UTC](https://forum.shopware.com/t/fehlermeldung-beim-loschen-eines-artikels-im-warenkorb/43870 "2017-02-20T14:44:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.shopware.com/u/Andrew)
#### Post date: [20. Februar 2017 um 14:44 UTC](https://forum.shopware.com/t/fehlermeldung-beim-loschen-eines-artikels-im-warenkorb/43870/1 "2017-02-20T14:44:02Z")

</div>

Hallo zusammen,

wenn man auf der Warenkorbübersicht einen Artikel aus dem Korb löscht, erscheint die Fehlerseite des Shops.

Im Log finde ich dazu:

```
20.02.2017 15:38:48
Kanal: core
Level: ERROR

exception 'Shopware\Components\CSRFTokenValidationException' with message 'The provided X-CSRF-Token for path "/checkout/deleteArticle/sDelete/5202/sTargetAction/cart" is invalid. Please go back, reload the page and try again.' in /engine/Shopware/Components/CSRFTokenValidator.php:158 Stack trace:

```

Nachdem die Seite neugeladen wurde/man den Warenkorb neu aufruft, funktioniert es wieder. Cache ist geleert.

Weiß jemand was da sein könnte? Version 5.2.18

Danke und beste Grüße,

Andrew

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [20. Februar 2017 um 14:59 UTC](https://forum.shopware.com/t/fehlermeldung-beim-loschen-eines-artikels-im-warenkorb/43870/2 "2017-02-20T14:59:02Z")

</div>

Passiert das auch, wenn Du die CSRF-Protection testweise deaktivierst? S. [CSRF Protection](https://developers.shopware.com/developers-guide/csrf-protection/#disable-the-protection)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.shopware.com/u/Andrew)
#### Post date: [21. Februar 2017 um 13:11 UTC](https://forum.shopware.com/t/fehlermeldung-beim-loschen-eines-artikels-im-warenkorb/43870/3 "2017-02-21T13:11:04Z")

</div>

> [@TimmeHosting schrieb:](https://forum.shopware.com/profile/9009/TimmeHosting "TimmeHosting")
> 
> Passiert das auch, wenn Du die CSRF-Protection testweise deaktivierst? S. [https://developers.shopware.com/developers-guide/csrf-protection/#disable-the-protection](https://developers.shopware.com/developers-guide/csrf-protection/?_ga=1.23605567.403463221.1475514979#disable-the-protection)

Mit der Änderung geht es wieder, danke sehr.

Aber sollte ich den Schutz dauerhaft deaktiviert lassen?&nbsp;
