# APM Server returns interleaved 503 and 202 responses on ES Cluster

**URL:** <https://discuss.elastic.co/t/apm-server-returns-interleaved-503-and-202-responses-on-es-cluster/246424>\
**Category:** APM\
**Tags:** server, elastic-agent\
**Created:** [August 26, 2020, 9:28am UTC](https://discuss.elastic.co/t/apm-server-returns-interleaved-503-and-202-responses-on-es-cluster/246424 "2020-08-26T09:28:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samar\_Haider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samar_haider/32/45343_2.png) [@Samar\_Haider](https://discuss.elastic.co/u/Samar_Haider)\
**Post date:** [August 26, 2020, 9:28am UTC](https://discuss.elastic.co/t/apm-server-returns-interleaved-503-and-202-responses-on-es-cluster/246424/1 "2020-08-26T09:28:24Z")

</div>

I have setup Elastic APM which sends data to Elasticsearch.  
When I setup Elasticsearch with single instance, Elastic APM server working fine responding 202 response.  
When I setup Elasticsearch cluster(3 master, 3 data nodes, 2 ingest, 2 coordinate nodes) , APM server server misbehaves responding interleaved 202 and 503  
Using coordinate host in Elastic APM  
This link [https://www.elastic.co/guide/en/apm/server/master/common-problems.html#queue-full](https://www.elastic.co/guide/en/apm/server/master/common-problems.html#queue-full) has some info but I am unable to resolve issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 16, 2020, 5:28am UTC](https://discuss.elastic.co/t/apm-server-returns-interleaved-503-and-202-responses-on-es-cluster/246424/2 "2020-09-16T05:28:49Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
