# A plugin couldn't be unpacked

What "couldn't unpack the plugin" means and how to fix it.

```text
error: couldn't unpack the plugin reports: it has no axle-plugin.toml
hint: Check that the source is a .tar.gz of the plugin's folder, with its axle-plugin.toml.
```

## Why it happens

Axle downloaded the plugin and its hash matched, but the file isn't a `.tar.gz` Axle can read, it has no `axle-plugin.toml` at its top or in its one top folder, or one of its paths points outside the plugin's folder. Axle doesn't unpack such a file.

## How to fix it

If you publish the plugin, make its archive from the plugin's folder, such as with `tar -czf reports.tar.gz reports`, or publish it to npm, whose packages Axle unpacks the same way. Otherwise tell its authors.
