# A plugin answered with a mistake

What "the plugin answered with a mistake" means and how to fix it.

```text
error: the plugin services answered with a mistake while finding projects: the project api is in ../api, which isn't a folder inside the repository
hint: Update the plugin, or tell its authors.
```

## Why it happens

A plugin answers Axle in JSON, in the shape the [plugin protocol](https://axlers.dev/docs/reference/plugins.md) describes. This answer broke one of its rules: it wasn't JSON, it was missing a field, a project's folder was outside the repository, a project depended on one Axle doesn't know, a task belonged to an unknown project, or a task had a setting `[tasks.<name>]` doesn't take.

## How to fix it

If you wrote the plugin, fix the answer the message names; the [protocol reference](https://axlers.dev/docs/reference/plugins.md) lists every field. A plugin must write nothing but protocol messages to standard output; anything else goes to standard error. Otherwise update the plugin, or tell its authors with the message Axle printed.
