# Function: policyProblem()

```ts
function policyProblem(policy): string | null;
```

Defined in: [packages/core/src/identity/policy.ts:350](https://github.com/leifriksheim/minca/blob/main/core/src/identity/policy.ts#L350)

What is wrong with a policy's shape, or null when it is well formed

## Parameters

| Parameter | Type |
| ------ | ------ |
| `policy` | `unknown` |

## Returns

`string` \| `null`
