> For the complete documentation index, see [llms.txt](https://docs.maestro.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maestro.dev/extra-materials/troubleshooting/bug-report.md).

# Bug report

How to report bugs and contribute to Maestro's open-source development.

This page explains how to report a bug in Maestro and how to attach context so the team can triage your issue quickly. Use it when you hit a problem that is not covered in Known issues.

### How to report an issue

If you encounter an issue or bug while using Maestro, report it by opening a GitHub issue.

1. Go to [Create a GitHub issue](https://github.com/mobile-dev-inc/maestro/issues/new/choose).
2. Choose the issue type that best matches your report.
3. Follow the instructions in the issue template. Filling out the template helps the team triage your report faster.

### Collecting context with `maestro bugreport`&#x20;

To provide the Maestro team with more context about your environment, run the `bugreport` subcommand before creating a GitHub issue:

```bash
maestro bugreport
```

This command collects diagnostic data from your machine and saves it to a folder. After the command completes, attach the generated `.zip` files from that folder to your GitHub issue.

The collected data includes:

* Maestro process logs
* System information (Maestro version, operating system version, and device CPU architecture)

Once the command finishes, it prints the path to the folder where the data was written.

When creating a new issue or bug report, be sure to attach the `.zip` files generated by this command. This information helps the Maestro team reproduce and diagnose the problem more efficiently.


---

# 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://docs.maestro.dev/extra-materials/troubleshooting/bug-report.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.
