# BatchInterfaceNotImplementedException erscheint alle paar Sekunden  - solved

**URL:** <https://forum.shopware.com/t/batchinterfacenotimplementedexception-erscheint-alle-paar-sekunden-solved/46614>\
**Category:** Allgemein\
**Created:** [29. Juni 2017 um 15:52 UTC](https://forum.shopware.com/t/batchinterfacenotimplementedexception-erscheint-alle-paar-sekunden-solved/46614 "2017-06-29T15:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnc4me](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@cnc4me](https://forum.shopware.com/u/cnc4me)\
**Post date:** [29. Juni 2017 um 15:52 UTC](https://forum.shopware.com/t/batchinterfacenotimplementedexception-erscheint-alle-paar-sekunden-solved/46614/1 "2017-06-29T15:52:10Z")

</div>

Hallo zusammen,

seitdem ich Shopware 5.2.26 installiert habe, bekomme ich alle paar Sekunden folgende Error-Mail zugeschickt… kann mir da eventuell jemand weiterhelfen? Ich werde aus dem Quellcode nicht recht schlau, wo der Fehler sein könnte… super vielen Dank für eure Hilfe!  
&nbsp;

Viele Grüße,

Tobias

&nbsp;

ERROR

**Message:**

```
 exception 'Shopware\Components\Api\Exception\BatchInterfaceNotImplementedException' with message 'BatchInterface is not implemented by this resource' in /var/www/space1/web32/shopware5/engine/Shopware/Components/Api/Resource/Resource.php:302

 Stack trace:

 #0 /var/www/space1/web32/shopware5/engine/Shopware/Controllers/Api/Rest.php(76): Shopware\Components\Api\Resource\Resource-\>batch(Array)

 #1 /var/www/space1/web32/shopware5/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Api\_Rest-\>batchAction()

 #2 /var/www/space1/web32/shopware5/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('batchAction')

 #3 /var/www/space1/web32/shopware5/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))

 #4 /var/www/space1/web32/shopware5/engine/Shopware/Kernel.php(182): Enlight\_Controller\_Front-\>dispatch()

 #5 /var/www/space1/web32/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

 #6 /var/www/space1/web32/shopware5/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

 #7 /var/www/space1/web32/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

 #8 /var/www/space1/web32/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

 #9 /var/www/space1/web32/shopware5/engine/Shopware/Components/HttpCache/AppCache.php(141): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

 #10 /var/www/space1/web32/shopware5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

 #11 /var/www/space1/web32/shopware5/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

 #12 /var/www/space1/web32/shopware5/shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

 #13 {main}

```

**Time:**

```
 2017-06-29T17:46:01.521979+0200

```

**Channel:**

```
 core

```

**request:**

```
 {

 &nbsp;&nbsp;&nbsp; "uri": "/api/orders/?useNumberAsId=true?",

 &nbsp;&nbsp;&nbsp; "method": "PUT",

 &nbsp;&nbsp;&nbsp; "query": {

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "useNumberAsId": "true?",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": "api",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "controller": "orders",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "action": "index"

 &nbsp;&nbsp;&nbsp; },

 &nbsp;&nbsp;&nbsp; "post": {

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "orderStatusId": 2

 &nbsp;&nbsp;&nbsp; }

 }

```

**shop:**

```
 No shop data available

```

**session:**

```
 No session data available
```

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [29. Juni 2017 um 17:19 UTC](https://forum.shopware.com/t/batchinterfacenotimplementedexception-erscheint-alle-paar-sekunden-solved/46614/2 "2017-06-29T17:19:02Z")

</div>

Im Titel steht ja bereits „solved“ - aber nur für andere mit dem Problem: Hier wurde gegen die Order-API ein Put-Request auf die Index-Route gemacht, ohne ID - für Shopware das Signal, dass hier mehrere Bestellungen im Batch-Modus verarbeitet werden sollen. Die Bestell-API unterstützt aber den Batchmodus nicht - daher der Fehler.&nbsp;

Vermutlich wurde hier nur vergessen, die Bestellnummer / ID in der URL mit zu übergeben, dann wäre das als Normale Aktualisierung durchgelaufen.

Besten Gruß,

Daniel&nbsp;
