# File upload fails for PROD user - but not for anyone else

**URL:** <https://community.appfarm.io/t/file-upload-fails-for-prod-user-but-not-for-anyone-else/1208>\
**Category:** Bug reports\
**Tags:** actions\
**Created:** [April 30, 2024, 7:46am UTC](https://community.appfarm.io/t/file-upload-fails-for-prod-user-but-not-for-anyone-else/1208 "2024-04-30T07:46:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Preben](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/preben/32/545_2.png) [@Preben](https://community.appfarm.io/u/Preben)\
**Post date:** [April 30, 2024, 7:46am UTC](https://community.appfarm.io/t/file-upload-fails-for-prod-user-but-not-for-anyone-else/1208/1 "2024-04-30T07:46:25Z")

</div>

Hi,

I have an issue in Prod where a user needs to upload an image to a runtime object. The action create file object is used and when he selects the picture to be uploaded, an error occurs and the file is not created.

I’m not able to reproduce this with another user with the same permissions and same file.

Any suggestions on how to figure this one out?

_I have seen similar errors in development that sometimes the create file object just fails for no obvious reasons, but since this is prod it is more critical._

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/2/262d1c40654c16e62782f5e16eead491c0fddc7b.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:** [April 30, 2024, 8:13am UTC](https://community.appfarm.io/t/file-upload-fails-for-prod-user-but-not-for-anyone-else/1208/2 "2024-04-30T08:13:53Z")

</div>

Hi!

Out of curiousuity: Does the user click any action with `Open URL` (download a file etc) before he/she encounters this error?

We have a strange case _sometimes_ with `Open URL` when `Open in new window` is _not ticked_ (should be) - where I have seen this error message for some users in a subsequent action (based on the error log, it looks like the user cancels the dialog, but I guess that is not the case).

---

<div class="post-metadata">

**Author:** ![Preben](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/preben/32/545_2.png) [@Preben](https://community.appfarm.io/u/Preben)\
**Post date:** [April 30, 2024, 8:21am UTC](https://community.appfarm.io/t/file-upload-fails-for-prod-user-but-not-for-anyone-else/1208/3 "2024-04-30T08:21:11Z")

</div>

No - he only presses the upload button , selects the image file and press “open” in the dialog and error occurs…
