# When persisting a File Object, receives status code 400

**URL:** <https://community.appfarm.io/t/when-persisting-a-file-object-receives-status-code-400/664>\
**Category:** Bug reports\
**Created:** [September 1, 2023, 11:15am UTC](https://community.appfarm.io/t/when-persisting-a-file-object-receives-status-code-400/664 "2023-09-01T11:15:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexares](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@alexares](https://community.appfarm.io/u/alexares)\
**Post date:** [September 1, 2023, 11:15am UTC](https://community.appfarm.io/t/when-persisting-a-file-object-receives-status-code-400/664/1 "2023-09-01T11:15:22Z")

</div>

I have observed that I am unable to persist some file objects, and I am encountering the error depicted in the image.  
I am wondering if there are any size limits for files that can be persisted, as this is occurring for a file that is 90MB.

 ![Screenshot 2023-09-01 at 13.11.11](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/dd50fd577c7c5e943ebc78649b87dba130668615.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [September 1, 2023, 11:54am UTC](https://community.appfarm.io/t/when-persisting-a-file-object-receives-status-code-400/664/2 "2023-09-01T11:54:44Z")

</div>

Hi!

The current limit is 50 MB. However, that is too low and we’ve registered a challange on this one to increase that limit a lot. That fix will be applied to the upcoming release (ETA end of month).

No good workaround unfortunately other than adding information in the UI about the limit in file size.
