# A downloaded plugin has the wrong hash

What "the plugin that Axle downloaded has a different hash" means and how to fix it.

```text
error: the plugin python that Axle downloaded has the hash sha256-4be1…, but axle.toml expects sha256-9f2c…, so Axle didn't run it
hint: If you changed the plugin's source on purpose, run axle add again to record the new hash. Otherwise someone changed what the source serves: don't run it.
```

## Why it happens

What Axle downloaded from the plugin's `source` isn't what the repository recorded in `hash`. Either `source` was changed, such as to a new version, without updating `hash`, or the file at that address was replaced. Axle never runs a plugin whose hash doesn't match, and keeps nothing of it.

## How to fix it

If you meant to change the plugin, remove its `[plugins.<name>]` table and add it again, which records the new hash:

```sh
axle add npm:@axle-rs/plugin-python@0.2.0
```

If nobody changed `source`, the plugin at that address changed under the same name. Find out why before you trust it.
