# Error uploading image. Try again. IOS

**URL:** <https://forums.rocket.chat/t/error-uploading-image-try-again-ios/5814>\
**Category:** Mobile Apps\
**Created:** [February 11, 2020, 2:29pm UTC](https://forums.rocket.chat/t/error-uploading-image-try-again-ios/5814 "2020-02-11T14:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vadimushka](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vadimushka](https://forums.rocket.chat/u/vadimushka)\
**Post date:** [February 11, 2020, 2:29pm UTC](https://forums.rocket.chat/t/error-uploading-image-try-again-ios/5814/1 "2020-02-11T14:29:55Z")

</div>

Some photos do not want to be uploaded to the chat on my iPhone. I have my own server, everything works in a desktop application. Also, everything works on [https://open.rocket.chat](https://open.rocket.chat) Tell me what could be the problem?

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [February 11, 2020, 11:34pm UTC](https://forums.rocket.chat/t/error-uploading-image-try-again-ios/5814/2 "2020-02-11T23:34:27Z")

</div>

Switched to the appropriate category.

Do you have your site url set to the exact url which you access it at?

What file store do you have selected for file uploads?

What guide did you use to setup your server?

---

<div class="post-metadata">

**Author:** ![williamT](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@williamT](https://forums.rocket.chat/u/williamT)\
**Post date:** [April 15, 2020, 6:20am UTC](https://forums.rocket.chat/t/error-uploading-image-try-again-ios/5814/4 "2020-04-15T06:20:00Z")

</div>

I am facing the same issue here. Everything worked in browser. With mobile (ios) I can upload a pic smaller than 2mb, anything bigger than that, will have error instantly after click upload.

General setting Site URL is matching with ‘docker-compose.yml’

File system is s3

 ![image](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/3/3f36c5a9644141b4e0bb89f0f95910b57c11e2cd.png)

Installation was using [https://github.com/RocketChat/docs/pull/1638/files](https://github.com/RocketChat/docs/pull/1638/files) as guide because of Ubuntu LTS (18.04)

UPDATE:

Fixed the issue by updating Nginx config.

in ‘server’ block, add client\_max\_body\_size 10M; you can change the max size accordingly
