App Error - Internal Error

Hi Folks

I am intermittently getting the following error In-App, seemingly exclusively when my users are offline (but the error isn’t very helpful) The error just says “Error - Internal Error” - see below?

Any ideas?

Hi @forumfred

This error is likely a result of a failed attempt to execute a CloudCode.callTask() in your app runtime. CloudCode.callTask() will fail if the user is offline (naturally) but also if the task is not enabled or if App Triggers are not allowed for the task in the Task Settings.

In your case the likely cause is just users being offline. So you either need to wrap the call in a try catch loop, or first check if the user is online before attempting the call.