> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-mobile/en/troubleshooting/trobleshooting-local-device/first-steps-to-try-for-error-aborted-due-to-an-internal-error.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# First Steps to Try for Error: "Aborted due to an internal error or the test execution timeout."

## Situation

During test execution, the error message "Aborted due to an internal error or the test execution timeout." is shown

![](https://1041389054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj0BSsfTevAGpY0hwBHT7%2Fuploads%2Fgit-blob-38513caedff9f58b78f69cd20188858a20dcb8aa%2FScreenshot%202026-04-03%20at%2012.36.43.png?alt=media)

## Resolution

### 1. Try again

The connection with your local device may unexpectedly disconnect after a certain period of time. Try starting mobile link again.

```bash
autify mobile link start
```

### 2. Adjust the recorder’s screen quality

Depending on your network, local environment, or device specifications, Autify may fail to retrieve the screen information from the local mobile device, resulting in an error. Decreasing the recorder’s screen quality may prevent such errors.

Run `autify mobile link setup` and select `2. Low` in the `Choose the screen quality for recording:` setting.

![](https://1041389054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj0BSsfTevAGpY0hwBHT7%2Fuploads%2Fgit-blob-9113185c6e9c29878d643d5d0477c31875822515%2FScreenshot%202026-04-03%20at%2012.16.24.png?alt=media)

{% hint style="info" %}
**Note**

This does not impact Autify’s functionality or test execution quality in any way. It simply changes how frequently the UI refreshes as you use the recorder.
{% endhint %}

### 3. Confirm that your IP address is stable

If your IP address changes periodically, especially during recording, the connection may drop. In such cases, please reconnect as needed.

### 4. Confirm your Xcode account (iOS device only)

Confirm that your Xcode account is properly configured as outlined in [this document](https://help.autify.com/nocode-mobile/en/troubleshooting/trobleshooting-local-device/what-apple-account-settings-are-needed-to-use-local-ios-real-devices.md). If you don't have the necessary permissions, it will result in an error.

### 5. Confirm your local device's screen (iOS device only)

Ensure that the local device's screen is unlocked before running the test. If the screen is locked during test execution, an error will occur.

### 6. Confirm the log file (OPPO device only)

If your recording logs (e.g., `recording-1234XXX-appium.log`) contain the following error, the issue may be due to permission settings on your OPPO device.

```bash
"info: java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS"
```

Try changing your device's settings as follows to resolve the problem and try recording again:

1. [Enable Developer Options on the device](https://developer.android.com/studio/debug/dev-options?hl=en#enable) (external link)
2. In the "Developer Options" or "Security" settings, both switch "Disable Permission Monitoring" to ON and switch "App Permission Monitor" to OFF.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-mobile/en/troubleshooting/trobleshooting-local-device/first-steps-to-try-for-error-aborted-due-to-an-internal-error.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
