> 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-web/en/faq/faq-create-scenario/faq-recording/during-local-replay-an-error-occurred-why.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# During local replay, an error occurred. Why?

An error may occur while Local Replay is automatically performing actions, causing the process to stop. When an error occurs, the following dialogue will appear:

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-4c70f3674df196a5e5d9aad13259456d4f51c0db%2FReplay_Error_window_en.png?alt=media)

### 1.What to do when an error occurs

You can restart or abort Local Replay in one of the following ways:

* Retry: replay the failed step again.
* Abort: abort Local Replay.
* Continue: ignore the failed step or manually perform the action of the failed step and resume Replay where it left off.

You can move the Local Replay dialogue as needed when manually performing the action corresponding to the failed step.

## 2. Causes of errors and how to handle them

The main causes of errors in "Local Replay" are operation steps that do not support replay, errors that would occur even during test execution, and cases where replay fails even though test execution succeeds.

### 2-1. Operations that do not support local replay

#### ・File upload step

If the file upload step fails, click \[continue] button after the manual upload operation.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-1457b56726abbf1665223e32daf0b0a87cddf4ae%2Freplay_file_upload_en.png?alt=media)

### 2-2. Element not found or error in JS step

#### ・The target element was not found in the operation step (click or input).

In this case, the same error occurs as when the test is executed. If the target element is displayed on the screen where the error occurred, please operate the element manually and continue the replay.

#### ・The content described in the JS step was inappropriate.

In this case, the error occurs as in the test execution. Please review the contents of the described JS Step.

### 2-3.Test execution succeeds, but "Local Replay" fails.

"Local Replay" and "Test Execution" are two different things, so even if an error occurs in **"Local Replay", the test may be executed without any problem.** For more information, please also check [this article](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/local-replay.md).

Since replay is executed at high speed, the next process may start before the page transition or other process is completed, resulting in an error (stop in the middle) in replay. In such a case, please try to add a wait step after the step that takes a long time to process, so that the replay can proceed without stopping.

See also: [Basic Usage of Local Replay](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/local-replay.md)


---

# 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-web/en/faq/faq-create-scenario/faq-recording/during-local-replay-an-error-occurred-why.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.
