# Insight on Complete result exceeds size limit

**URL:** <https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922>\
**Category:** Community Support\
**Tags:** s3\
**Created:** [September 14, 2021, 1:09pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922 "2021-09-14T13:09:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrex\_17](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/andrex_17/32/727_2.png) [@Andrex\_17](https://community.temporal.io/u/Andrex_17)\
**Post date:** [September 14, 2021, 1:09pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/1 "2021-09-14T13:09:06Z")

</div>

Hi all,

i’m trying to manage my wf with some activities that returns about 1MB of datas.  
When datas are major than 1MB, i receive this Complete result exceeds size limit error, but if i remove some datas from my result and this datas are minor than 1MB all works fine.  
I read about [Find cause of "Complete result exceeds size limit" error](https://community.temporal.io/t/find-cause-of-complete-result-exceeds-size-limit-error/457) and i found the BlobSizeLimit that was setted to 2MB, but i don’t find how to configure it.  
Why i reached error when data is around 1MB? There is some particular reason for this?  
2MB is perfect fit to my all scenarios.

Thx a lot.  
A.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [September 15, 2021, 4:14pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/2 "2021-09-15T16:14:27Z")

</div>

You can configure it your dynamicconfig via “limit.blobSize.error”. The value is an int (in bytes) with default value of 2097152 (2mb) - [temporal/constants.go at master · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/blob/master/common/dynamicconfig/constants.go#L89)

If the actual input argument size exceeds the warning size (limit.blobSize.warn set to 1/2 mb as default) you should get a warning message “Blob size exceeds limit”. This message is confusing and will do a PR to change it into something better. If it exceeds the max limit the invalid argument error should be "“Blob data size exceeds limit.”. Which one are you getting?

---

<div class="post-metadata">

**Author:** ![Andrex\_17](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/andrex_17/32/727_2.png) [@Andrex\_17](https://community.temporal.io/u/Andrex_17)\
**Post date:** [September 16, 2021, 10:22am UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/3 "2021-09-16T10:22:37Z")

</div>

Thx @tihomir for the answer.  
Now it’s clear how to configure it.  
I can explain my use case that reached this kind of error.  
I’ve a lot of sequentially activities within my workflow. One of them return a 1.06MB size dto. I’m working with base configuration of  
blobSize.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/5/5e6d16c68d12de33425c3200a2d627c24a9bf2d9.jpeg). This is the error that i reached, but it’s quite strange because the limit is 2MB, correct? Then i tried to remove some entries and had 0.99MB size dto, all worked great.  
Can u explain me why i reach this error with base configuration?  
Thx a lot!  
A.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [September 16, 2021, 12:52pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/4 "2021-09-16T12:52:15Z")

</div>

Yes the default is set to 2mb. Would you mind opening an issue here: [Issues · temporalio/temporal · GitHub](https://github.com/temporalio/temporal/issues)  
and describe the issue so server team can take a look? Make sure you put the server version in the issue. Thanks.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [September 16, 2021, 3:32pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/5 "2021-09-16T15:32:36Z")

</div>

Also, at what point are you measuring the size of your input? Are you measuring it before its serialized and sent to server? If so I think that would not be an accurately represented measurement. The server checks the size limit of the serialized inputs.

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [September 16, 2021, 3:45pm UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/6 "2021-09-16T15:45:10Z")

</div>

Large payloads negatively affect service performance. So I would recommend storing your result in a blob store like S3 and passing the reference as an activity result.

---

<div class="post-metadata">

**Author:** ![NeerajDhiman](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@NeerajDhiman](https://community.temporal.io/u/NeerajDhiman)\
**Post date:** [April 12, 2023, 5:59am UTC](https://community.temporal.io/t/insight-on-complete-result-exceeds-size-limit/2922/7 "2023-04-12T05:59:58Z")

</div>

@tihomir Neeraj this side from manish’s Team. we are getting below error.

{ “message”: “Complete result exceeds size limit.”, “source”: “”, “stackTrace”: “”, “cause”: null, “serverFailureInfo”: { “nonRetryable”: true } }
