compliance-errors changedmanage-claude/compliance-errors
Nearest release: v2.1.336, published 3 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−3removed
From line
237
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits28to this page, all time
The whole hunk
from line 237, old and new numbered
/
from line 237
237237**Fix:** Handle each message as follows:
238238
239239* For `API key is invalid.`, compare the value your client sends with the secret you stored when you created the key. The full secret is shown only once, so if your stored copy is wrong, create a new key.
240* For `API key has been deactivated.`, re-enable the key if it was only disabled. Re-enable a Compliance Access Key on the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Re-enable a Console Admin API key on the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console. A deleted key cannot be restored, so create a new key.
240* For `API key has been deactivated.`, re-enable the key if it was only disabled. Re-enable a Compliance Access Key on the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Re-enable a Console Admin API key on the [Admin keys](https://platform.claude.com/keys/admin-keys) page (`platform.claude.com/keys/admin-keys`) in the Claude Console. A deleted key cannot be restored, so create a new key.
241241* For `API key has expired.`, create a new key.
242242
243243To switch your integration to a new key, see [Manage and rotate keys](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#manage-and-rotate-keys).
from line 282
282282**Cause:** A key without `read:compliance_org_data` was used to call an organizations, roles, groups, or effective-settings endpoint, or the Security posture endpoint. There are two common paths to this error:
283283
284284* A Compliance Access Key (`sk-ant-api01-...`) was created without the `read:compliance_org_data` scope.
285* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console can’t hold `read:compliance_org_data`, so it can’t read organization metadata.
285* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/keys/admin-keys) page in the Claude Console can’t hold `read:compliance_org_data`, so it can’t read organization metadata.
286286
287287**Fix:** [Create a new Compliance Access Key](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) with `read:compliance_org_data` selected.
288288
from line 309
309309**Cause:** A key without `read:compliance_user_data` was used to call a chats, messages, files, artifacts, projects, sessions, organization users, user preferences, or group-members endpoint. There are two common paths to this error:
310310
311311* A Compliance Access Key (`sk-ant-api01-...`) was created without the `read:compliance_user_data` scope.
312* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console can’t hold `read:compliance_user_data`.
312* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/keys/admin-keys) page in the Claude Console can’t hold `read:compliance_user_data`.
313313
314314**Fix:** Use a [Compliance Access Key](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) created in claude.ai with `read:compliance_user_data` selected. If the request really should be Activity Feed only, point the Admin API key at `GET /v1/compliance/activities` instead.
315315
No line in this hunk matches that.