# API FRAMEWORK QUERY LIMIT EXCEEDED Wie erhöhen?

**URL:** <https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734>\
**Category:** Programmierung\
**Created:** [30. März 2022 um 20:00 UTC](https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734 "2022-03-30T20:00:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurznet](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@kurznet](https://forum.shopware.com/u/kurznet)\
**Post date:** [30. März 2022 um 20:00 UTC](https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734/1 "2022-03-30T20:00:16Z")

</div>

Hallo Zusammen,  
seit dem Update auf Shopware 6.4.9.0 bekomme ich bei einem Api Call den Fehler „FRAMEWORK\_\_QUERY\_LIMIT\_EXCEEDED (The limit must be lower than or equal to MAX\_LIMIT(=100).)“ das Query Limit darf maximal 100 sein.  
Wo und wie kann ich das erhöhen ?  
habe das [hier](https://docs.shopware.com/de/de/shopware-6-de/tutorials-und-faq/flooding-praevention) gefunden aber wenn ich eine " **shopware.yaml**" Datei erstelle mit

```auto
shopware:
    api:
        max_limit: 200

```

und unter " **config/packages/shopware.yaml**" speichere dann wird das nicht berücksichtig… warum?

---

<div class="post-metadata">

**Author:** ![oliver.pohl](https://avatars.discourse-cdn.com/v4/letter/o/eada6e/32.png) [@oliver.pohl](https://forum.shopware.com/u/oliver.pohl)\
**Post date:** [21. November 2023 um 11:13 UTC](https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734/2 "2023-11-21T11:13:32Z")

</div>

Hallo @kurznet. Ich stand heute vor einem ähnlichen Problem.

`shopware.api.max_limit` legt lediglich das Limit an Records fest, die du per Admin-API holen kannst.

Wenn du das Limit für die Store-API erhöhen willst, dann musst du `store.api.store.max_limit` setzen.

```yaml
shopware:
    api:
        max_limit: 200
        store:
            max_limit: 200

```

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [21. Juli 2024 um 15:48 UTC](https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734/3 "2024-07-21T15:48:57Z")

</div>

Nach jedem Update von Shopware überschreibt sich der wert. wie kann ich es updatesicher hinterlegen?

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [21. Juli 2024 um 19:43 UTC](https://forum.shopware.com/t/api-framework-query-limit-exceeded-wie-erhoehen/93734/4 "2024-07-21T19:43:34Z")

</div>

Statt die shopware.yaml zu nutzen eine z-shopware.yaml anlegen und die nutzen.
