# File upload max size

**URL:** <https://community.dreamfactory.com/t/file-upload-max-size/4879>\
**Category:** uncategorized\
**Created:** [April 11, 2019, 10:50am UTC](https://community.dreamfactory.com/t/file-upload-max-size/4879 "2019-04-11T10:50:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![regalartech](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@regalartech](https://community.dreamfactory.com/u/regalartech)\
**Post date:** [April 11, 2019, 10:50am UTC](https://community.dreamfactory.com/t/file-upload-max-size/4879/1 "2019-04-11T10:50:08Z")

</div>

I to update the dream-factory configuration for file storage service

I am getting the api error like below

" 413 (Payload Too Large)"

---

<div class="post-metadata">

**Author:** ![Sasquatch](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/sasquatch/32/900_2.png) [@Sasquatch](https://community.dreamfactory.com/u/Sasquatch)\
**Post date:** [May 10, 2019, 3:15pm UTC](https://community.dreamfactory.com/t/file-upload-max-size/4879/2 "2019-05-10T15:15:01Z")

</div>

@regalartech You’ll likely need to increase the upload\_max\_filesize in php.ini. The error itself is a good indicator you’re server isn’t handling the filesize you are sending.  
**ERROR:** [https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413)  
**php.ini:** [https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize](https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize)
