invalid_hook
The pre-trade hook definition is invalid.
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 in Errors. Send the error’s requestId to support and we can find the request.