# Elastic-agent error ResourceExhausted desc = grpc: received message larger than max

**URL:** <https://discuss.elastic.co/t/elastic-agent-error-resourceexhausted-desc-grpc-received-message-larger-than-max/325256>\
**Category:** Elastic Agent\
**Created:** [February 10, 2023, 11:46am UTC](https://discuss.elastic.co/t/elastic-agent-error-resourceexhausted-desc-grpc-received-message-larger-than-max/325256 "2023-02-10T11:46:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabien9402](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fabien9402/32/116740_2.png) [@fabien9402](https://discuss.elastic.co/u/fabien9402)\
**Post date:** [February 10, 2023, 11:46am UTC](https://discuss.elastic.co/t/elastic-agent-error-resourceexhausted-desc-grpc-received-message-larger-than-max/325256/1 "2023-02-10T11:46:58Z")

</div>

We have an error in one of our elastic-agent.

This returns the error below:

```auto
12:17:47.199
elastic_agent.filebeat
[elastic_agent.filebeat][error] elastic-agent-client got error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4281155 vs. 4194304)
12:17:47.702
elastic_agent.filebeat
[elastic_agent.filebeat][error] elastic-agent-client got error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4281155 vs. 4194304)
12:17:48.207
elastic_agent.filebeat
[elastic_agent.filebeat][error] elastic-agent-client got error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4281155 vs. 4194304)

```

This elastic-agent is containerized and is the only one giving us this error (about twenty other agents work perfectly).

We did not find solutions in the documentation and on this forum.

We thank you in advance for the help you will be able to bring to our request.

---

<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:** [March 10, 2023, 11:47am UTC](https://discuss.elastic.co/t/elastic-agent-error-resourceexhausted-desc-grpc-received-message-larger-than-max/325256/2 "2023-03-10T11:47:09Z")

</div>

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