# invalid_hook

> The pre-trade hook definition is invalid.

Source: https://tickwire.io/docs/errors/invalid_hook/

HTTP 400.

**Likely cause:** A hook on an agent key must apply to agents only.

**What to do:** Fix the hook body.

**Retry:** No. The same request gets the same answer; change something first.

Listed under [Pre-trade hooks, holds and kill switches](https://tickwire.io/docs/errors/#pre-trade-hooks-holds-and-kill-switches) in [Errors](https://tickwire.io/docs/errors/). Send the error's `requestId` to support and we can find the request.
