The key cannot manage webhooks for the selected organization.
Recovery
Check X-Affinity-Organization-Id, the owner's webhook grant, API scopes, and the key's mode.
Branch on code, not on the text of detail. The HTTP status, requestId, and optional data.issues describe this occurrence.
Do not log patient or prescription bodies. Give support the request ID when investigating a failure.