# AP-Call: MySql server has gone away

**URL:** <https://forum.shopware.com/t/ap-call-mysql-server-has-gone-away/87433>\
**Category:** Shopware 6 (German)\
**Created:** [6. Mai 2021 um 06:42 UTC](https://forum.shopware.com/t/ap-call-mysql-server-has-gone-away/87433 "2021-05-06T06:42:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloC3](https://avatars.discourse-cdn.com/v4/letter/f/838e76/32.png) [@FloC3](https://forum.shopware.com/u/FloC3)\
**Post date:** [6. Mai 2021 um 06:42 UTC](https://forum.shopware.com/t/ap-call-mysql-server-has-gone-away/87433/1 "2021-05-06T06:42:59Z")

</div>

bei einem Call über die Shopware API wird bei uns folgender Fehler ausgelöst. Das Script hängt dann einfach oder bricht ab…

An exception occurred while executing ‚# system-config::load::search-ids SELECT `system_config`.`id` FROM `system_config` WHERE (`system_config`.`sales_channel_id` IS NULL) ORDER BY `system_config`.`sales_channel_id` ASC, `system_config`.`id` ASC LIMIT 500‘: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

das tritt beispielsweise auf bei einem GET an /product-manufacturer oder einem GET an /search/property-group

was können wir tun?
