# Error in App Action Logs

**URL:** <https://community.fliplet.com/t/error-in-app-action-logs/523>\
**Category:** Get Help\
**Created:** [May 29, 2023, 12:37pm UTC](https://community.fliplet.com/t/error-in-app-action-logs/523 "2023-05-29T12:37:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![umarbarlas](https://avatars.discourse-cdn.com/v4/letter/u/f07891/32.png) [@umarbarlas](https://community.fliplet.com/u/umarbarlas)\
**Post date:** [May 29, 2023, 12:37pm UTC](https://community.fliplet.com/t/error-in-app-action-logs/523/1 "2023-05-29T12:37:27Z")

</div>

Hi,

I created an app action and tested it with runWIthResult method. Everything seems to work fine but when it automatically runs on the server, this is the error I am getting and I have no idea what this is about.

![Screenshot 2023-05-29 at 5.30.37 PM](https://europe1.discourse-cdn.com/flex017/uploads/fliplet/original/1X/45002168cf5ba43347471eb613d17af03bcda2c7.png)

---

<div class="post-metadata">

**Author:** ![Deb](https://dub1.discourse-cdn.com/flex017/user_avatar/community.fliplet.com/deb/32/159_2.png) [@Deb](https://community.fliplet.com/u/Deb)\
**Post date:** [May 30, 2023, 2:49pm UTC](https://community.fliplet.com/t/error-in-app-action-logs/523/2 "2023-05-30T14:49:14Z")

</div>

Hi Umar,

Is it possible you are calling the app action (the runWithResult method) is on the same page as the page that contains the code in the Fliplet.Page.onRemoteExecution() method?

They have to be on 2 different screens. See some instructions here:

> **[App Actions | Fliplet Developers Documentation](https://developers.fliplet.com/API/core/app-actions.html#testing-and-debugging-an-action)**
>
> Configure your app screens to run scheduled or ad-hoc operation in the cloud and perform various automations.

Hope this helps,  
Deb

---

<div class="post-metadata">

**Author:** ![umarbarlas](https://avatars.discourse-cdn.com/v4/letter/u/f07891/32.png) [@umarbarlas](https://community.fliplet.com/u/umarbarlas)\
**Post date:** [May 31, 2023, 9:59am UTC](https://community.fliplet.com/t/error-in-app-action-logs/523/3 "2023-05-31T09:59:28Z")

</div>

Hi Deb,

This was exactly the case. I thought only the code inside onRemoteExecution is executed with app action.

There is one more confusion that I would like to clarify. Sometimes, I need to update the app when I make a change to the App action code. Do I need to update the app every time I make a change to the App action code?

Thanks

---

<div class="post-metadata">

**Author:** ![Deb](https://dub1.discourse-cdn.com/flex017/user_avatar/community.fliplet.com/deb/32/159_2.png) [@Deb](https://community.fliplet.com/u/Deb)\
**Post date:** [May 31, 2023, 10:27am UTC](https://community.fliplet.com/t/error-in-app-action-logs/523/4 "2023-05-31T10:27:29Z")

</div>

If you are running scheduled app action then yes only the published version of the screen will run and hence you will need to push an update to run the latest code.

See here (Number 9): [App Actions | Fliplet Developers Documentation](https://developers.fliplet.com/API/core/app-actions.html#data-models-and-key-concepts)

Thanks,  
Deb
