Error code · HTTP 403
inference_hooks_not_configured
- Title
- Claude Enterprise Inference hooks not set up
- What happened
- Inference hooks (
/v1/hooks/anthropic/inference/{org_alias}) need the organization's Claude Enterprise connection, with its signing secret, in this key's environment. - How to fix it
- Save the signing secret Claude showed you in the Claude Enterprise connection for this environment, and send a gateway key of that environment (not a device's) as
X-Maskflare-Key. - Returned by
- Gateway mode
- Retry
- Retrying the same request fails the same way.
Example response body
{
"type": "https://maskflare.com/docs/errors/inference_hooks_not_configured",
"title": "Claude Enterprise Inference hooks not set up",
"status": 403,
"code": "inference_hooks_not_configured",
"detail": "Save the signing secret Claude showed you in the Claude Enterprise connection for this environment, and send a gateway key of that environment (not a device's) as `X-Maskflare-Key`."
}