Errors — Audience
Numeric codes follow domain × 10,000 + category × 100 + ordinal ( see defineErrors in the Cognis domain package). The Message key column is the stable key returned in API payloads; the Message column shows the copy for your current locale (same resolution as the product UI).
| Code | Key | HTTP | Category | Message key | Message |
|---|---|---|---|---|---|
| 140001 | AVATAR_NOT_FOUND | 404 | Not Found | audience.errors.avatar.notFound | Avatar not found |
| 140003 | PROBLEM_NOT_FOUND | 404 | Not Found | audience.errors.problem.notFound | Problem not found |
| 140006 | PAIN_POINT_NOT_FOUND | 404 | Not Found | audience.errors.painPoint.notFound | Pain point not found |
| 140105 | PROBLEM_PAIN_POINT_REQUIRED | 422 | Validation | audience.errors.problem.painPointRequired | At least one pain point is required |
| 140108 | ENTITY_USED_IN_CREATIVE_CANNOT_DELETE | 422 | Validation | audience.errors.entity.usedInCreative.cannotDelete | This item has been used in a creative and cannot be deleted. Archive it instead. |
| 140109 | ENTITY_NOT_USED_IN_CREATIVE_CANNOT_ARCHIVE | 422 | Validation | audience.errors.entity.notUsedInCreative.cannotArchive | This item has not been used in a creative and cannot be archived. Delete it instead. |
| 140112 | ENTITY_ALREADY_ARCHIVED | 422 | Validation | audience.errors.entity.alreadyArchived | This item is already archived |
| 140113 | ENTITY_ALREADY_DELETED | 422 | Validation | audience.errors.entity.alreadyDeleted | This item has already been deleted |
| 149902 | AVATAR_UPDATE_FAILED | 500 | Internal | audience.errors.avatar.updateFailed | Failed to update avatar |
| 149904 | PROBLEM_UPDATE_FAILED | 500 | Internal | audience.errors.problem.updateFailed | Failed to update problem |
| 149907 | PAIN_POINT_UPDATE_FAILED | 500 | Internal | audience.errors.painPoint.updateFailed | Failed to update pain point |
| 149910 | ENTITY_DELETE_FAILED | 500 | Internal | audience.errors.entity.deleteFailed | Failed to delete this item |
| 149911 | ENTITY_ARCHIVE_FAILED | 500 | Internal | audience.errors.entity.archiveFailed | Failed to archive this item |