---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [project-index](../index.md) / hookRegistrationIssue

# Function: hookRegistrationIssue()

> **hookRegistrationIssue**(`chain`, `hook`): `string` \| `undefined`

Defined in: [packages/b2c-tooling-sdk/src/project-index/insights.ts:164](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/project-index/insights.ts#L164)

A problem with one hook registration, if any.

## Parameters

### chain

[`HookChain`](../interfaces/HookChain.md)

### hook

[`IndexedHook`](../interfaces/IndexedHook.md)

## Returns

`string` \| `undefined`
