> For the complete documentation index, see [llms.txt](https://docs.trac.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trac.network/documentation/developers/mainnet/dapp-developer-guide/troubleshooting.md).

# Troubleshooting

### “Missing MSB network params”

You must pass both:

* `--msb-bootstrap=<hex32>`
* `--msb-channel=<string>`

When using npm scripts, ensure you include the second `--`:

```sh
npm run peer:run -- --msb-bootstrap=<hex32> --msb-channel=<string>
```

### `zsh: command not found: --msb-channel=...`

This happens when the flag is on a new line without a `\` continuation.

Correct:

```sh
npm run peer:run -- \
  --msb-bootstrap=<hex32> \
  --msb-channel=<string>
```

### “Requester address not found in state”

Your peer MSB address must exist in MSB state and have funds to pay fees.

Fix:

* copy `Peer MSB address: trac1...` from peer logs
* transfer TNK to it from a funded MSB node

### “Subnet deployment broadcast failed”

Common causes:

* peer MSB address has no funds (fee check fails)
* MSB network params are wrong (bootstrap/channel mismatch)

### Subnet is read-only (`Subnet writable: false`)

You started a node with a keypair that does not match the subnet bootstrap writer.

If you intended to create a new subnet:

* delete `stores/<peer-store>/subnet-bootstrap.hex` and rerun

If you intended to join an existing subnet:

* ensure `--subnet-bootstrap` matches the existing subnet bootstrap

### Pear PATH warning

If Pear prints:

> prepend pear bin to PATH

follow the message once so `pear` runs directly.

### “Contract does not support ”

The demo contract supports only `catch`.

If you send another tx type, subnet apply will ignore it and it will not be indexed.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.trac.network/documentation/developers/mainnet/dapp-developer-guide/troubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
