# OpenCTI errors

> The functional errors a user or an API client can meet in OpenCTI in this version, by area, and what to do for the most common ones, generated from the code.

- URL: https://filigran.io/docs/reference/opencti/errors/
- Products: OpenCTI 7.261119.0
- For: developers, administrators, platform engineers
- Type: Reference
- Generated from the OpenCTI 7.261119.0 source code

**Diagram: An error raised in OpenCTI goes back to the client in the GraphQL answer, with its message, its error type and its data**

- Request: User or API client (Interface or script)
- OpenCTI: GraphQL API (Runs the operation), Area of the code (Domain, database, modules)
- Answer to the client: Message (Parts in braces computed at run time), Error type (extensions.code, such as FORBIDDEN_ACCESS), Data attached (extensions.data)

Connections:

- User or API client → GraphQL API: query or mutation
- GraphQL API → Area of the code: calls
- Area of the code → Message: raises
- Area of the code → Error type: raises
- Area of the code → Data attached: attaches

The 974 error messages OpenCTI 7.261119.0 can answer to a user or an API client, by the area of the code that raises them. The GraphQL answer carries the message, the error type in `extensions.code` and the data attached in `extensions.data`; `{name}` marks a part computed at run time. Listed: the 22 error types `ACCESS_REQUIRED`, `ALREADY_DELETED_ERROR`, `AUTH_FAILURE`, `AUTH_REQUIRED`, `BAD_USER_INPUT_ERROR`, `DATABASE_ERROR`, `DRAFT_LOCKED`, `FORBIDDEN_ACCESS`, `FUNCTIONAL_ERROR`, `LOCK_ERROR`, `LTS_REQUIRED_ACTIVATION`, `MISSING_REFERENCE_ERROR`, `OTP_REQUIRED`, `OTP_REQUIRED_ACTIVATION`, `PASSWORD_CHANGE_REQUIRED`, `PASSWORD_CHANGE_THROTTLED`, `PASSWORD_RESET_EXPIRED`, `PASSWORD_REUSED`, `RESOURCE_NOT_FOUND`, `UNSUPPORTED_ERROR`, `VALIDATION_ERROR`, `WORK_NOT_ALIVE`. Left out: the server failures the code classes as technical with a status 500 (`ComplexSearchError`, `ConfigurationError`, `DatabaseError`, `FilesystemError`, `UnknownError`), the code of startup, migrations, background managers and inference rules (a few of their messages also answer the API, such as applying a rule or running a playbook on an entity), messages held entirely in a variable and developer guards (*unexpected*, *not implemented*, schema registration). Read the platform logs as [Troubleshooting](https://filigran.io/docs/deploy/operate/troubleshoot/) explains.

## Common errors and what to do {#common-errors-and-what-to-do}

| Message | Error type | What to do |
| --- | --- | --- |
| Bad login or password | `AUTH_FAILURE` | Check the login and password, or the two-factor code. An account without a local password gets the same message. |
| Cannot execute request in a draft that is not in an open state | `DRAFT_LOCKED` | The draft named by the `opencti-draft-id` header is being validated or was validated: send the request outside the draft, or in an open draft. |
| Element(s) not found | `MISSING_REFERENCE_ERROR` | The input references ids the platform does not know or the user cannot see; `unresolvedIds` in the error data lists them. Create the referenced elements first, or check their markings. |
| Execution timeout, too many concurrent call on the same entities | `LOCK_ERROR` | Other operations hold a lock on the same entities (often several workers updating one container): retry the operation; connectors retry on their own. |
| Restricted entity already exists, you can request access | `ACCESS_REQUIRED` | An entity with the same identity exists but the user cannot see it; `entityIds` in the error data lists it. Request access to it, as [Request access](https://filigran.io/docs/opencti/administer/request-access/) explains. |
| This attribute is mandatory | `VALIDATION_ERROR` | The input lacks an attribute the entity customization makes mandatory; `field` in the error data names it. Fill it, or change the setting in Settings > Customization. |
| Work is no longer alive, no request can be done within the context of this work | `WORK_NOT_ALIVE` | The connector work the request belongs to was deleted or is no longer running: start the import again from a new work. |
| You are not allowed to do this. | `FORBIDDEN_ACCESS` | The user lacks the capability the operation requires, or cannot access the element (markings, organization, authorized members). Give the user a group whose role grants the capability, as [Roles and capabilities](https://filigran.io/docs/opencti/administer/roles/) explains. |
| You must activate your account with 2FA. | `OTP_REQUIRED_ACTIVATION` | The platform makes two-factor authentication mandatory and the user has not set it up yet: set it up when the login screen asks for it. |
| You must activate your LTS license. | `LTS_REQUIRED_ACTIVATION` | This LTS version is blocked until its license is validated: an administrator enters a valid license in Settings. |
| You must be logged in to do this. | `AUTH_REQUIRED` | The request carries no valid credentials: send an `Authorization: Bearer <API token>` header with the token of an active user, or log in again when the browser session has expired. |
| You must validate your account with 2FA. | `OTP_REQUIRED` | Two-factor authentication is active for this user: enter the code of the authenticator application to finish the login. |

## Raised in several areas {#raised-in-several-areas}

Messages that several areas of the platform raise, such as the default message of an access refusal.

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Already deleted elements | `ALREADY_DELETED_ERROR` | `internalDeleteElementById` (database/middleware), `deleteWorkForConnector` (domain/work), `notificationDelete` (modules/notification/notification-domain) and 1 more | `connectorId`, `id`, `notificationId`, `organizationId` |
| Bad login or password | `AUTH_FAILURE` | `reject` (domain/local-auth-lockout), `verifyMfa` (modules/auth/auth-domain), `login` (modules/user/user-domain) and 3 more |  |
| Cannot delete non draft imports in draft | `UNSUPPORTED_ERROR` | `deleteFile` (database/file-storage), `deleteImport` (domain/file), `stixCoreObjectImportDelete` (domain/stixCoreObject) | `fileName` |
| Cant find element to update | `FUNCTIONAL_ERROR` | `updateAttribute` (database/middleware), `containerEditAuthorizedMembers` (domain/container), `stixDomainObjectEditAuthorizedMembers` (domain/stixDomainObject) and 1 more | `entityId`, `id`, `type` |
| Comment exceeds maximum allowed length of 1000 characters. | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common), `executeWorkflowBypass` (modules/workflow/domain/workflow-domain) |  |
| Could not find draft workspace | `DRAFT_LOCKED` | `checkDraftInContext` (http/httpServer-draft), `userEditField` (modules/user/user-domain) |  |
| Could not parse CSV mapper configuration | `FUNCTIONAL_ERROR` | `consumeQueueCallback` (connector/importCsv/importCsv-connector), `csvMapperTest` (modules/internal/csvMapper/csvMapper-domain), `csvMapperTest` (modules/internal/csvMapper/deprecated/csvMapper-domain) and 1 more | `error` |
| Element is not sharable at the moment (restricted) | `UNSUPPORTED_ERROR` | `approveRequestAccess` (modules/requestAccess/requestAccess-domain), `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `targetId`, `targetInstanceToShare` |
| Element(s) not found | `MISSING_REFERENCE_ERROR` | `inputResolveRefsFn` (database/middleware), `stixObjectOrRelationshipAddRefRelation` (domain/stixObjectOrStixRelationship) | `doc_code: ELEMENT_NOT_FOUND`, `input`, `reason`, `unresolvedIds` |
| Enterprise edition is not enabled | `UNSUPPORTED_ERROR` | `settingsEditField` (domain/settings), `checkEnterpriseEdition` (enterprise-edition/ee), `addConfigPresetDependencies` (modules/configPreset/export/configPreset-export-domain) and 1 more | `item`, `type` |
| ENTITIES_WORKFLOW is disabled | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common), `loadWorkflowBypass` (modules/workflow/domain/workflow-domain) |  |
| Execution timeout, too many concurrent call on the same entities | `LOCK_ERROR` | `loadDraftElement` (database/engine), `createRelationRaw` (database/middleware), `draftInternalDeleteElement` (database/middleware) and 15 more | `inputIds`, `participantIds` |
| Invalid filter configuration | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder), `adaptFilterToCustomFieldFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `filter` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 6.6.0 | `FUNCTIONAL_ERROR` | `csvFeedAddInputFromImport` (modules/ingestion/ingestion-csv-domain), `csvMapperAddInputFromImport` (modules/internal/csvMapper/csvMapper-domain), `jsonMapperImport` (modules/internal/jsonMapper/jsonMapper-domain) | `reason` |
| Only internal-relationship can be added through this method, got {relationship_type}. | `FUNCTIONAL_ERROR` | `groupAddRelation` (domain/group), `roleAddRelation` (modules/user/user-domain), `userAddRelation` (modules/user/user-domain) |  |
| The score should be an integer between 0 and 100 | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator), `checkScore` (utils/format) | `field`, `field: x_opencti_score`, `input` |
| This attribute is mandatory | `VALIDATION_ERROR` | `deleteRelationsByFromAndTo` (database/middleware), `validateMandatoryAttributes` (schema/schema-validator) | `attribute`, `field` |
| This is not a valid CVSS2 vector | `FUNCTIONAL_ERROR` | `addVulnerability` (modules/vulnerability/vulnerability-domain), `generateVulnerabilitiesUpdates` (utils/vulnerabilities) | `vector` |
| This is not a valid CVSS3 vector | `FUNCTIONAL_ERROR` | `addVulnerability` (modules/vulnerability/vulnerability-domain), `generateVulnerabilitiesUpdates` (utils/vulnerabilities) | `vector` |
| This is not a valid CVSS4 vector | `FUNCTIONAL_ERROR` | `addVulnerability` (modules/vulnerability/vulnerability-domain), `generateVulnerabilitiesUpdates` (utils/vulnerabilities) | `vector` |
| This RFI is not compatible | `UNSUPPORTED_ERROR` | `checkRequestActionAndGetWorkflow` (modules/requestAccess/requestAccess-domain), `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `id` |
| Unknown dashboard variable | `FUNCTIONAL_ERROR` | `buildPublicationVariableValues` (modules/publicDashboard/publicDashboard-publication), `buildPresetValues` (modules/workspace/workspace-presets-validation) | `variableId` |
| Unsupported markdown embedded image mime type | `FUNCTIONAL_ERROR` | `rewriteMarkdownDataUris` (database/middlewareEmbeddedImages), `applyPendingFiles` (modules/form/form-pending) | `entityId`, `entityType`, `mimeType`, `name` |
| WIDGET_EXPORT_NOT_FOUND | `FUNCTIONAL_ERROR` | `exportCustomViewWidget` (modules/customView/customView-domain), `generateWidgetExportConfiguration` (modules/workspace/workspace-domain) | `customView`, `widget`, `workspace` |
| You are not allowed to do this. | `FORBIDDEN_ACCESS` | `createRelationRaw` (database/middleware), `deleteRelationsByFromAndTo` (database/middleware), `internalCreateEntityRaw` (database/middleware) and 40 more |  |
| You cant share the requested element (restrictions or markings) | `UNSUPPORTED_ERROR` | `approveRequestAccess` (modules/requestAccess/requestAccess-domain), `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `targetId`, `targetInstanceToShare` |
| You have not chosen a user responsible for data creation | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain), `addIngestionCsv` (modules/ingestion/ingestion-csv-domain) |  |
| You must be logged in to do this. | `AUTH_REQUIRED` | `authDirectiveTransformer` (graphql/authDirective), `checkIntrospection` (graphql/graphql), `checkAuthenticationFromRequest` (http/httpTaxii) and 1 more |  |
| You need to be able to edit the RFI and share knowledge | `UNSUPPORTED_ERROR` | `approveRequestAccess` (modules/requestAccess/requestAccess-domain), `assertCanEnterRequestAccessOutcome` (modules/workflow/domain/workflow-request-access) | `id` |

## database {#database}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| \[STIX\] Missing relation definition | `UNSUPPORTED_ERROR` | `isRelationBuiltin` (database/stix) | `from`, `to`, `type` |
| \`options.ttl\` must be a number or function. | `UNSUPPORTED_ERROR` | `getTTL` (database/sessionStore-memory) |  |
| A file already exists with this name | `FUNCTIONAL_ERROR` | `upload` (database/file-storage) |  |
| A filter key must be defined | `FUNCTIONAL_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `key` |
| Aggregation computing use an unsupported field | `FUNCTIONAL_ERROR` | `elAggregationRelationsCount` (database/engine) | `field` |
| Cache configuration type not supported | `UNSUPPORTED_ERROR` | `getEntitiesFromCacheFn` (database/cache) | `type` |
| Can apply avg on non numeric attribute | `UNSUPPORTED_ERROR` | `createRuleDataPatch` (database/middleware) |  |
| Can apply max on non numeric or date attribute | `UNSUPPORTED_ERROR` | `createRuleDataPatch` (database/middleware) |  |
| Can apply min on non numeric or date attribute | `UNSUPPORTED_ERROR` | `createRuleDataPatch` (database/middleware) |  |
| Can apply sum on non numeric attribute | `UNSUPPORTED_ERROR` | `createRuleDataPatch` (database/middleware) |  |
| Cannot access all entities for merging | `FUNCTIONAL_ERROR` | `mergeEntities` (database/middleware) |  |
| Cannot access initial instance | `FUNCTIONAL_ERROR` | `mergeEntities` (database/middleware) | `targetEntityId` |
| Cannot access merged instance | `FUNCTIONAL_ERROR` | `mergeEntities` (database/middleware) | `targetEntityId` |
| Cannot convert relation without a resolved from: {fromId} | `UNSUPPORTED_ERROR` | `checkInstanceCompletion` (database/stix-2-1-converter), `checkInstanceCompletion` (database/stix-converter-utils) |  |
| Cannot convert relation without a resolved to: {toId} | `UNSUPPORTED_ERROR` | `checkInstanceCompletion` (database/stix-2-1-converter), `checkInstanceCompletion` (database/stix-converter-utils) |  |
| Cannot delete an individual corresponding to a user | `FUNCTIONAL_ERROR` | `verifyCanDeleteIndividual` (database/data-consistency) | `id` |
| Cannot delete an organization that has an administrator. | `FUNCTIONAL_ERROR` | `verifyCanDeleteOrganization` (database/data-consistency) | `id` |
| Cannot delete an organization that has members. | `FUNCTIONAL_ERROR` | `verifyCanDeleteOrganization` (database/data-consistency) | `id` |
| Cannot delete element: cannot access all related relations | `FUNCTIONAL_ERROR` | `elDeleteElements` (database/engine) |  |
| Cannot delete the organization. | `FUNCTIONAL_ERROR` | `verifyCanDeleteOrganization` (database/data-consistency) | `id` |
| Cannot delete the platform organization. | `FUNCTIONAL_ERROR` | `verifyCanDeleteOrganization` (database/data-consistency) |  |
| Cannot delete unsupported element in draft context | `UNSUPPORTED_ERROR` | `elMarkElementsAsDraftDelete` (database/engine) | `elements` |
| Cannot index unsupported element in draft context | `UNSUPPORTED_ERROR` | `validateElementsToIndex` (database/engine) |  |
| Cannot merge all files in draft | `UNSUPPORTED_ERROR` | `moveAllFilesFromEntityToAnother` (database/file-storage) |  |
| Cannot merge an entity on itself | `FUNCTIONAL_ERROR` | `mergeEntitiesRaw` (database/middleware) | `dest`, `source` |
| Cannot merge builtin vocabularies | `FUNCTIONAL_ERROR` | `mergeEntities` (database/middleware) |  |
| Cannot merge entities of different types | `FUNCTIONAL_ERROR` | `mergeEntitiesRaw` (database/middleware) | `dest`, `source` |
| Cannot merge entities, same ID detected in source and destination | `FUNCTIONAL_ERROR` | `mergeEntities` (database/middleware) | `sourceEntityIds`, `targetEntityId` |
| Cannot merge inferred entities | `FUNCTIONAL_ERROR` | `mergeEntitiesRaw` (database/middleware) | `inferences` |
| Cannot merge vocabularies of different category | `FUNCTIONAL_ERROR` | `mergeEntitiesRaw` (database/middleware) | `categories` |
| Cannot recognize stream name | `UNSUPPORTED_ERROR` | `checkStreamName` (database/redis-stream) |  |
| Cannot remove linked elements from draft | `UNSUPPORTED_ERROR` | `elRemoveElementFromDraft` (database/draft-engine) | `id` |
| Cannot update an individual corresponding to a user | `FUNCTIONAL_ERROR` | `updateAttributeMetaResolved` (database/middleware) | `id` |
| Cant add another relation on single ref | `UNSUPPORTED_ERROR` | `createRelationRaw` (database/middleware) | `doc_code: SELF_REFERENCING_RELATION`, `from`, `relationshipType` |
| Cant ask a deletion on element not inferred by this rule | `UNSUPPORTED_ERROR` | `deleteInferredRuleElement` (database/middleware) | `rule` |
| Cant find element references for commit | `FUNCTIONAL_ERROR` | `createRelationRaw` (database/middleware), `internalDeleteElementById` (database/middleware), `updateAttributeMetaResolved` (database/middleware) | `id`, `references` |
| Cant find element to resolve | `FUNCTIONAL_ERROR` | `internalCreateEntityRaw` (database/middleware), `upsertElement` (database/middleware) | `id` |
| Cant find updated instance relation ref from key | `FUNCTIONAL_ERROR` | `updateAttributeMetaResolved` (database/middleware) |  |
| Cant generated mapping | `UNSUPPORTED_ERROR` | `attributeMappingGenerator` (database/engine-mapping-generator) | `type` |
| Cant generated string mapping | `UNSUPPORTED_ERROR` | `attributeMappingGenerator` (database/engine-mapping-generator) | `format` |
| Cant prepare attribute for update | `UNSUPPORTED_ERROR` | `prepareAttributesForUpdate` (database/middleware) | `name`, `type` |
| Cant resolve attribute | `UNSUPPORTED_ERROR` | `buildChanges` (database/data-changes), `humanizeChangeValues` (database/data-changes) | `entityType`, `field` |
| Cant update undefined element | `FUNCTIONAL_ERROR` | `updateAttributeFromLoadedWithRefs` (database/middleware) |  |
| Cant upsert inferred entity. Too many entities resolved | `UNSUPPORTED_ERROR` | `internalCreateEntityRaw` (database/middleware) | `doc_code: MULTIPLE_REFERENCES_FOUND`, `entityIds`, `input` |
| Change build error, unknown attribute | `UNSUPPORTED_ERROR` | `convertAttribute` (database/data-changes) | `attribute` |
| Closing reason can only be changed through a workflow transition | `FUNCTIONAL_ERROR` | `updateAttributeMetaResolved` (database/middleware) | `id` |
| Composite vocab only support single definition | `FUNCTIONAL_ERROR` | `inputResolveRefsFn` (database/middleware) | `field` |
| Converter was declared without a conversion function | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter), `convertToStix_2_1` (database/stix-2-1-converter) | `type` |
| convertInstanceToStix must be used with opencti fully loaded instance | `UNSUPPORTED_ERROR` | `convertStoreToStix_2_0` (database/stix-2-0-converter), `convertStoreToStix_2_1` (database/stix-2-1-converter) |  |
| CreatedBy relation must be an Identity entity | `FUNCTIONAL_ERROR` | `inputResolveRefsFn` (database/middleware) | `entityType` |
| CreatedBy relation must be an Identity entity. | `FUNCTIONAL_ERROR` | `validateCreatedBy` (database/middleware) | `createdBy` |
| Data URI image exceeds max size ({maxImageSizeBytes} bytes) | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Data URI image payload is empty | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Data URI image payload must be base64 encoded | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Data URI images exceed max total size ({maxTotalSizeBytes} bytes) | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Distribution entities does not support relation aggregation field | `FUNCTIONAL_ERROR` | `distributionEntities` (database/middleware), `distributionHistory` (database/middleware) | `field` |
| Draft operation not recognized | `UNSUPPORTED_ERROR` | `elRemoveElementFromDraft` (database/draft-engine) | `id`, `operation` |
| Engine execution fail, some shards are not available, please check your engine status | `DATABASE_ERROR` | `elRawSearchFn` (database/engine) | `shards` |
| Entities from the cache are shared by every caller and must not be modified | `UNSUPPORTED_ERROR` | `rejectSharedEntitiesChange` (database/cache) |  |
| Fail to compute indices for unknown type | `UNSUPPORTED_ERROR` | `computeQueryIndices` (database/engine-indices) | `type` |
| Failed to load exclusion list cache. | `FUNCTIONAL_ERROR` | `checkObservableValue` (database/exclusionListCache) | `exclusionListCache` |
| Failed to process markdown embedded images in descriptions | `FUNCTIONAL_ERROR` | `rewriteEmbeddedDataUriImagesInDescriptions` (database/middlewareEmbeddedImages) | `cause`, `entityId`, `entityType` |
| File body is null or undefined | `UNSUPPORTED_ERROR` | `downloadFile` (database/raw-file-storage), `downloadFileRange` (database/raw-file-storage), `downloadFileWithoutLogging` (database/raw-file-storage) | `fileId` |
| File listing directory must end with a / | `FUNCTIONAL_ERROR` | `loadedFilesListing` (database/file-storage) |  |
| File listing directory must not start with a / | `FUNCTIONAL_ERROR` | `loadedFilesListing` (database/file-storage) |  |
| File not found or restricted | `FUNCTIONAL_ERROR` | `loadFile` (database/file-storage) | `filename` |
| File path not specified | `FUNCTIONAL_ERROR` | `loadFile` (database/file-storage) |  |
| Filter is not supported as an aggregation | `FUNCTIONAL_ERROR` | `fullEntitiesThoughAggregationConnection` (database/middleware-loader) | `filter` |
| Filter must have only one field | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `keys`, `operator` |
| Filter script is not allowed | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `filter` |
| Find multiple vocabularies for single one | `FUNCTIONAL_ERROR` | `inputResolveRefsFn` (database/middleware) | `data`, `key` |
| Hashes collision | `VALIDATION_ERROR` | `hashMergeValidation` (database/middleware) | `algorithm`, `field` |
| Id loading expected only one response | `UNSUPPORTED_ERROR` | `elLoadBy` (database/engine) | `size` |
| Incompatible type | `UNSUPPORTED_ERROR` | `assertType` (database/stix-converter-utils) | `instanceType`, `type` |
| Incorrect AI configuration | `UNSUPPORTED_ERROR` | `queryChatGpt` (database/ai-llm), `queryMistralAi` (database/ai-llm) | `enabled`, `endpoint`, `model`, `type` |
| Incorrect AI configuration for NLQ | `UNSUPPORTED_ERROR` | `queryNLQAi` (database/ai-llm) | `enabled`, `endpoint`, `model`, `type` |
| Input resolve refs expect single value | `UNSUPPORTED_ERROR` | `inputResolveRefsFn` (database/middleware) | `doc_code: ELEMENT_ID_COLLISION`, `key`, `values` |
| Instance is not inferred, cant be deleted | `UNSUPPORTED_ERROR` | `deleteInferredRuleElement` (database/middleware) | `id` |
| Invalid attribute resolution | `UNSUPPORTED_ERROR` | `inputResolveRefsFn` (database/middleware) | `doc_code: ELEMENT_NOT_FOUND`, `key`, `type` |
| Invalid base64 payload in data URI image | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Invalid data URI image format | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Invalid relationship schema | `FUNCTIONAL_ERROR` | `checkRelationshipRef` (database/stix) | `data`, `from`, `to`, `type` |
| Invalid schema pointer for partial update | `UNSUPPORTED_ERROR` | `isObjectPathTargetMultipleAttribute` (database/utils) | `path` |
| Invalid stix data conversion | `FUNCTIONAL_ERROR` | `convertStoreToStix_2_0` (database/stix-2-0-converter), `convertStoreToStix_2_1` (database/stix-2-1-converter) | `id`, `type` |
| List connected entities paginated cant be used | `UNSUPPORTED_ERROR` | `pageRegardingEntitiesConnection` (database/middleware-loader) | `type` |
| Load file from storage fail | `UNSUPPORTED_ERROR` | `getFileSize` (database/raw-file-storage) | `cause`, `filename`, `user_id` |
| Manual inference deletion is not allowed | `UNSUPPORTED_ERROR` | `checkIfInferenceOperationIsValid` (database/middleware) | `id` |
| Missing mandatory attribute for vocabulary | `FUNCTIONAL_ERROR` | `inputResolveRefsFn` (database/middleware) | `key` |
| No entity converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_1` (database/stix-2-1-converter) |  |
| No entity stix 2.0 converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter) |  |
| No meta converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_1` (database/stix-2-1-converter) |  |
| No meta stix 2.0 converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter) |  |
| No observable converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_1` (database/stix-2-1-converter) |  |
| No relation converter_2_0 available | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter) | `type` |
| No relation converter_2_1 available | `UNSUPPORTED_ERROR` | `convertToStix_2_1` (database/stix-2-1-converter) | `type` |
| No representative extractor available | `UNSUPPORTED_ERROR` | `extractStixRepresentative` (database/stix-representative) | `type` |
| No SCO stix 2.0 converter available for {type} | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter) |  |
| Not supported AI type | `UNSUPPORTED_ERROR` | `queryAi` (database/ai-llm) | `type` |
| Not supported AI type (currently support: mistralai, openai, azureopenai) | `UNSUPPORTED_ERROR` | `(module)` (database/ai-llm) | `type` |
| Not supported filter operator | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `filter`, `filterOperator` |
| Observable of is not correctly formatted | `FUNCTIONAL_ERROR` | `updateAttributeMetaResolved` (database/middleware) | `id`, `type` |
| Range filter must have only one field | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `keys` |
| Relation cant be created (single cardinality) | `UNSUPPORTED_ERROR` | `createRelationRaw` (database/middleware) | `fromId`, `type` |
| Relation cant be created with the same source and target | `UNSUPPORTED_ERROR` | `createRelationRaw` (database/middleware) | `doc_code: SELF_REFERENCING_RELATION`, `from`, `relationshipType` |
| Restricted entity already exists | `UNSUPPORTED_ERROR` | `internalCreateEntityRaw` (database/middleware) | `doc_code: RESTRICTED_ELEMENT` |
| Restricted entity already exists, you can request access | `ACCESS_REQUIRED` | `internalCreateEntityRaw` (database/middleware) | `entityIds` |
| Restricted relation already exists | `UNSUPPORTED_ERROR` | `createRelationRaw` (database/middleware) |  |
| Runtime mapping is only possible with elastic \>=7.12 | `UNSUPPORTED_ERROR` | `elQueryBodyBuilder` (database/engine-query-builder) | `order` |
| Schema validation failure when loading dependencies | `UNSUPPORTED_ERROR` | `loadElementMetaDependencies` (database/middleware) | `inputKey`, `key`, `type` |
| Staged sync file not found | `UNSUPPORTED_ERROR` | `resolveConsumedStagedFile` (database/file-storage) |  |
| The relationship is not allowed | `FUNCTIONAL_ERROR` | `checkRelationshipRef` (database/stix) | `from`, `to`, `type` |
| This attribute key is not allowed, please check your registration attribute name | `FUNCTIONAL_ERROR` | `checkAttributeConsistency` (database/middleware) | `entity_type`, `key` |
| This update will produce a duplicate | `FUNCTIONAL_ERROR` | `updateAttributeMetaResolved` (database/middleware) | `existingIds`, `id`, `type` |
| Time series breakdown does not support this date attribute for these types | `FUNCTIONAL_ERROR` | `checkBreakdownDateAttribute` (database/middleware) | `dateAttribute`, `reason`, `types` |
| Time series breakdown does not support this field for the history and activity logs | `FUNCTIONAL_ERROR` | `resolveHistoryBreakdownField` (database/middleware) | `field`, `reason` |
| Time series breakdown does not support this field for these {elements} types | `FUNCTIONAL_ERROR` | `resolveElementsBreakdownField` (database/middleware) | `field`, `reason`, `types` |
| Time series breakdown is too large, reduce the period, the interval or the number of series | `FUNCTIONAL_ERROR` | `timeSeriesBreakdown` (database/middleware) | `intervalsCount`, `limit`, `max`, `reason` |
| Time series breakdown limit must be an integer between 1 and the maximum | `FUNCTIONAL_ERROR` | `checkTimeSeriesBreakdownLimit` (database/middleware) | `limit`, `max`, `reason` |
| Too many types to list the time series breakdown fields of | `FUNCTIONAL_ERROR` | `timeSeriesBreakdownFields` (database/middleware) | `max`, `typesCount` |
| Too many values to rank the lowest ones, narrow the filters or the period | `FUNCTIONAL_ERROR` | `checkExactRanking` (database/engine) | `max`, `reason` |
| Type cannot be converted to Stix | `UNSUPPORTED_ERROR` | `convertToStix_2_0` (database/stix-2-0-converter), `convertToStix_2_1` (database/stix-2-1-converter) | `type` |
| Type not compatible with identity | `UNSUPPORTED_ERROR` | `convertIdentityToStix` (database/stix-2-0-converter), `convertIdentityToStix` (database/stix-2-1-converter) | `entity_type` |
| Type not compatible with internal | `UNSUPPORTED_ERROR` | `convertInternalToStix` (database/stix-2-1-converter) | `entity_type` |
| Type not compatible with location | `UNSUPPORTED_ERROR` | `convertLocationToStix` (database/stix-2-0-converter), `convertLocationToStix` (database/stix-2-1-converter) | `entity_type` |
| Unable to create connector work | `FUNCTIONAL_ERROR` | `createConnectorWork` (database/file-storage) | `connectorId` |
| Unknown attribute | `UNSUPPORTED_ERROR` | `buildAttribute` (database/data-changes) | `entityType`, `key` |
| Unsupported data URI image mime type: {mimeType} | `FUNCTIONAL_ERROR` | `parseDataUriImage` (database/markdown-embedded-images) |  |
| Unsupported entity type for merging | `FUNCTIONAL_ERROR` | `mergeEntitiesRaw` (database/middleware) | `type` |
| Unsupported interval, please choose between year, quarter, month, week, day or hour | `FUNCTIONAL_ERROR` | `getHistogramDateFormat` (database/engine), `unsupportedIntervalError` (database/utils) | `interval` |
| Update event must contains a valid previous patch | `UNSUPPORTED_ERROR` | `buildStixUpdateEvent` (database/stream/stream-utils) |  |
| Update event must contains more operation than just modified/updated_at value | `UNSUPPORTED_ERROR` | `buildStixUpdateEvent` (database/stream/stream-utils) |  |
| Within filter must have only one field | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `keys` |
| Within filter must have two values | `UNSUPPORTED_ERROR` | `buildLocalMustFilter` (database/engine-query-builder) | `values` |
| You are not allowed to merge kill chain phases. | `FORBIDDEN_ACCESS` | `mergeEntities` (database/middleware) | `capability` |
| You cant create a cyclic relation | `FUNCTIONAL_ERROR` | `checkRefRelationNotCyclic` (database/middleware) | `from`, `to` |
| You must provide at least one external reference for this type of entity/relationship | `VALIDATION_ERROR` | `validateEntityAndRelationCreation` (database/middleware) | `field: externalReferences` |
| You must provide at least one external reference to update | `VALIDATION_ERROR` | `updateAttributeMetaResolved` (database/middleware) | `field: references` |
| You need to specify a scope type and both IDs when deleting a relation with from and to | `FUNCTIONAL_ERROR` | `deleteRelationsByFromAndTo` (database/middleware) | `from`, `to`, `type` |
| You need to specify a type when deleting an entity | `FUNCTIONAL_ERROR` | `deleteElementById` (database/middleware) |  |
| You need to specify a type when loading an element | `FUNCTIONAL_ERROR` | `storeLoadById` (database/middleware-loader) | `id` |
| You need to specify a type when loading elements | `FUNCTIONAL_ERROR` | `storeLoadByIds` (database/middleware-loader) | `ids` |

## domain {#domain}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| {entityType} {id} cant be found | `FUNCTIONAL_ERROR` | `deleteInternalObject` (domain/internalObject), `editInternalObject` (domain/internalObject) |  |
| {type} is not supported | `UNSUPPORTED_ERROR` | `getChildren` (domain/stixRelationship) |  |
| A background task of type query should have at least one filter. | `FUNCTIONAL_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| A background task should be of scope: SETTINGS, KNOWLEDGE, USER, IMPORT, DASHBOARD, PUBLIC_DASHBOARD. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) | `scope` |
| A background task should be of type query or list. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) | `taskType` |
| A single task cannot perform several actions on the same field if one action is a replace. | `FUNCTIONAL_ERROR` | `checkActionValidity` (domain/backgroundTask-common) | `data` |
| A single task cannot perform several actions on the workflow status | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common) |  |
| A workflow status action requires exactly one target status | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common) |  |
| A workflow transition action requires an event name | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common) |  |
| Analysis type not supported | `UNSUPPORTED_ERROR` | `stixCoreAnalysis` (domain/stixCoreObject) | `analysisType` |
| Artifact archive content is too large to be extracted | `FUNCTIONAL_ERROR` | `extractInfectedZipFile` (domain/stixCyberObservable) |  |
| Background tasks of scope dashboard can only be deletions. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Background tasks of scope Import can only be deletions. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Background tasks of scope investigation can only be deletions. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Background tasks of scope Playbook can only be deletions. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Background tasks of scope Public dashboard can only be deletions. | `UNSUPPORTED_ERROR` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Cannot add the relation, External Reference cannot be found. | `FUNCTIONAL_ERROR` | `externalReferenceAddRelation` (domain/externalReference) | `externalReferenceId` |
| Cannot add the relation, Group cannot be found. | `FUNCTIONAL_ERROR` | `groupAddRelation` (domain/group) | `groupId` |
| Cannot ask for analysis in draft | `UNSUPPORTED_ERROR` | `askElementAnalysisForConnector` (domain/stixCoreObject) |  |
| Cannot ask for export in draft | `UNSUPPORTED_ERROR` | `stixCoreObjectExportAsk` (domain/stixCoreObject), `stixCoreObjectsExportAsk` (domain/stixCoreObject) |  |
| Cannot change workflow status in draft | `FUNCTIONAL_ERROR` | `checkWorkflowActionsValidity` (domain/backgroundTask-common) |  |
| Cannot create a workbench in draft | `UNSUPPORTED_ERROR` | `uploadPending` (domain/file) |  |
| Cannot create indicator - cant generate pattern. | `FUNCTIONAL_ERROR` | `generateIndicatorFromObservable` (domain/stixCyberObservable) | `key`, `value` |
| Cannot create observable with both payload_bin and url filled. | `FUNCTIONAL_ERROR` | `addStixCyberObservable` (domain/stixCyberObservable) |  |
| Cannot delete a status template that is used in a workflow | `FUNCTIONAL_ERROR` | `statusTemplateDelete` (domain/status) |  |
| Cannot delete a status that is used in a published or draft workflow | `FUNCTIONAL_ERROR` | `statusDelete` (domain/status) |  |
| Cannot delete the object, Stix-Core-Object cannot be found. | `FUNCTIONAL_ERROR` | `stixCoreObjectDelete` (domain/stixCoreObject) | `stixCoreObjectId` |
| Cannot delete the object, Stix-Domain-Object cannot be found. | `FUNCTIONAL_ERROR` | `stixDomainObjectDelete` (domain/stixDomainObject), `stixDomainObjectDeleteUnchecked` (domain/stixDomainObject) | `id`, `types` |
| Cannot delete the relation, External-Reference cannot be found. | `FUNCTIONAL_ERROR` | `externalReferenceDeleteRelation` (domain/externalReference) | `externalReferenceId` |
| Cannot delete the relation, Group cannot be found. | `FUNCTIONAL_ERROR` | `groupDeleteRelation` (domain/group) | `groupId` |
| Cannot delete the relation, Stix-Object or Stix-Relationship cannot be found. | `FUNCTIONAL_ERROR` | `stixObjectOrRelationshipDeleteRefRelation` (domain/stixObjectOrStixRelationship) | `id` |
| Cannot delete the relation, Stix-Ref-Relation cannot be found. | `FUNCTIONAL_ERROR` | `stixRefRelationshipEditField` (domain/stixRefRelationship) | `id` |
| Cannot delete the stix element, {id} cannot be found. | `FUNCTIONAL_ERROR` | `stixDelete` (domain/stix) |  |
| Cannot delete, External-Reference cannot be found. | `FUNCTIONAL_ERROR` | `externalReferenceDelete` (domain/externalReference) | `externalReferenceId` |
| Cannot edit the field, stix-core-relationship cannot be found. | `FUNCTIONAL_ERROR` | `stixCoreRelationshipEditField` (domain/stixCoreRelationship) | `id` |
| Cannot edit the field, Stix-Cyber-Observable cannot be found. | `RESOURCE_NOT_FOUND` | `stixCyberObservableEditField` (domain/stixCyberObservable) | `stixCyberObservableId` |
| Cannot edit the field, Stix-Domain-Object cannot be found. | `FUNCTIONAL_ERROR` | `stixDomainObjectEditField` (domain/stixDomainObject) | `stixObjectId` |
| Cannot enrich the object, element cannot be found. | `FUNCTIONAL_ERROR` | `askElementEnrichmentForConnectors` (domain/stixCoreObject) | `enrichedId` |
| Cannot remove the object from draft, Stix-Core-Object cannot be found. | `FUNCTIONAL_ERROR` | `stixCoreObjectRemoveFromDraft` (domain/stixCoreObject) | `stixCoreObjectId` |
| Cannot remove the object from draft, stix-core-relationship cannot be found. | `FUNCTIONAL_ERROR` | `stixCoreRelationshipRemoveFromDraft` (domain/stixCoreRelationship) | `id` |
| Cannot remove the object from draft, Stix-Sighting-Relationship cannot be found. | `FUNCTIONAL_ERROR` | `stixSightingRelationshipRemoveFromDraft` (domain/stixSightingRelationship) | `id` |
| Cannot update payload_bin when url is present. | `FUNCTIONAL_ERROR` | `stixCyberObservableEditField` (domain/stixCyberObservable) | `stixCyberObservableId` |
| Cannot update url when payload_bin is present. | `FUNCTIONAL_ERROR` | `stixCyberObservableEditField` (domain/stixCyberObservable) | `stixCyberObservableId` |
| Cant {value} undefined rule {ruleId} | `UNSUPPORTED_ERROR` | `setRuleActivation` (domain/rules) |  |
| Cant clear analysis on none existing element | `UNSUPPORTED_ERROR` | `analysisClear` (domain/stixCoreObject) | `entityId` |
| Cant connect to remote opencti, {message} | `UNSUPPORTED_ERROR` | `testSync` (domain/connector-utils) |  |
| Cant connect to remote opencti, check your configuration | `UNSUPPORTED_ERROR` | `testSync` (domain/connector-utils) |  |
| Cant delete a file of none existing element | `UNSUPPORTED_ERROR` | `stixCoreObjectImportDelete` (domain/stixCoreObject) | `entityId` |
| Cant delete an exported file with this method | `UNSUPPORTED_ERROR` | `stixCoreObjectImportDelete` (domain/stixCoreObject) |  |
| Cant get analysis on none existing element | `UNSUPPORTED_ERROR` | `stixCoreAnalysis` (domain/stixCoreObject) | `entityId` |
| Cant upload a file an none existing element | `UNSUPPORTED_ERROR` | `stixCoreObjectAnalysisPush` (domain/stixCoreObject), `stixCoreObjectExportPush` (domain/stixCoreObject), `stixCoreObjectImportPush` (domain/stixCoreObject) | `entityId`, `id` |
| Content type not recognized | `FUNCTIONAL_ERROR` | `askElementAnalysisForConnector` (domain/stixCoreObject) | `contentType` |
| Couldnt retrieve file | `UNSUPPORTED_ERROR` | `stixCoreAnalysis` (domain/stixCoreObject) | `analysis` |
| Countries file is not a readable gzip archive | `FUNCTIONAL_ERROR` | `decodeCountriesFile` (domain/settings) |  |
| Countries file is not valid JSON | `FUNCTIONAL_ERROR` | `decodeCountriesFile` (domain/settings) |  |
| Countries file must be a GeoJSON FeatureCollection holding at least one feature | `FUNCTIONAL_ERROR` | `decodeCountriesFile` (domain/settings) |  |
| Element can not be loaded | `FUNCTIONAL_ERROR` | `patchElementWithRefRelationships` (domain/stixObjectOrStixRelationship) | `stixObjectOrRelationshipId` |
| entity_type is missing from askListExport | `FUNCTIONAL_ERROR` | `askListExport` (domain/stix) |  |
| Error getting the streams from remote OpenCTI | `VALIDATION_ERROR` | `fetchRemoteStreams` (domain/connector) | `cause`, `field: uri` |
| Every feature of the countries file must carry an ISO3 code as a string | `FUNCTIONAL_ERROR` | `decodeCountriesFile` (domain/settings) |  |
| Expecting variable {graphQLType} in the input, got nothing. | `FUNCTIONAL_ERROR` | `addStixCyberObservable` (domain/stixCyberObservable) |  |
| Fields content source not handled | `FUNCTIONAL_ERROR` | `askFieldsAnalysisForConnector` (domain/stixCoreObject) | `contentSource` |
| File removed or inaccessible | `UNSUPPORTED_ERROR` | `stixCoreObjectImportDelete` (domain/stixCoreObject) | `fileId` |
| Invalid bundle | `UNSUPPORTED_ERROR` | `sendStixBundle` (domain/stix) | `cause` |
| Invalid CGU status, expected one of {validStatuses} | `UNSUPPORTED_ERROR` | `settingsEditField` (domain/settings) |  |
| Invalid connector | `UNSUPPORTED_ERROR` | `sendStixBundle` (domain/stix) | `connectorId` |
| Invalid IP address or CIDR entries in allow list: {invalidEntries} | `UNSUPPORTED_ERROR` | `settingsEditField` (domain/settings) |  |
| Invalid license | `UNSUPPORTED_ERROR` | `settingsEditField` (domain/settings) |  |
| Invalid location type {type}, please provide one of {supportedTypes} | `FUNCTIONAL_ERROR` | `addLocation` (domain/location) |  |
| Invalid platform bootstrap status, expected one of pending, completed | `UNSUPPORTED_ERROR` | `setPlatformBootstrapStatus` (domain/settings) |  |
| Invalid stix bundle | `UNSUPPORTED_ERROR` | `sendStixBundle` (domain/stix) | `work_id` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 6.9.6 | `FUNCTIONAL_ERROR` | `syncAddInputFromImport` (domain/connector) | `reason` |
| JWT issuer is not trusted | `AUTH_FAILURE` | `resolveKey` (domain/xtm-auth) | `issuer` |
| JWT kid does not match any platform key | `AUTH_FAILURE` | `resolveKey` (domain/xtm-auth) | `kid` |
| JWT missing iss claim | `AUTH_FAILURE` | `resolveKey` (domain/xtm-auth) |  |
| JWT signature verification failed | `AUTH_FAILURE` | `verifyXtmJwt` (domain/xtm-auth) |  |
| Latitude must be between -90 and 90 degrees | `VALIDATION_ERROR` | `validateCoordinates` (domain/position) |  |
| Local authentication lockout settings can only be edited through updateLocalAuth | `FUNCTIONAL_ERROR` | `settingsEditField` (domain/settings) | `lockoutKeys` |
| Lockout admin max attempts must be greater than or equal to 1 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_admin_max_attempts` |
| Lockout admin max attempts must be lower than or equal to 100 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_admin_max_attempts` |
| Lockout duration must be greater than 0 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_duration` |
| Lockout duration must be lower than or equal to 1440 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_duration` |
| Lockout max attempts must be greater than or equal to 1 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_max_attempts` |
| Lockout max attempts must be lower than or equal to 100 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_max_attempts` |
| Lockout window must be greater than or equal to 0 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_window` |
| Lockout window must be lower than or equal to 1440 | `FUNCTIONAL_ERROR` | `buildLocalAuthLockoutPatch` (domain/setting-auth) | `local_auth_lockout_window` |
| Longitude must be between -180 and 180 degrees | `VALIDATION_ERROR` | `validateCoordinates` (domain/position) |  |
| MISSING_ELEMENTS | `FUNCTIONAL_ERROR` | `addStixRefRelationship` (domain/stixRefRelationship) | `from`, `from_missing`, `to`, `to_missing` |
| No connector found for analysis | `RESOURCE_NOT_FOUND` | `askFieldsAnalysisForConnector` (domain/stixCoreObject), `askFileAnalysisForConnector` (domain/stixCoreObject) | `analyzedId`, `connectorId` |
| No manager configuration found | `FUNCTIONAL_ERROR` | `resetFileIndexing` (domain/indexedFile) |  |
| No public dashboards to delete. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| Not enough data to summarize the containers attached to the entity. | `FUNCTIONAL_ERROR` | `aiSummary` (domain/container) |  |
| Observable is not correctly formatted | `FUNCTIONAL_ERROR` | `addStixCyberObservable` (domain/stixCyberObservable) | `doc_code: INCORRECT_OBSERVABLE_FORMAT`, `input`, `type` |
| Observable type {type} is not supported. | `FUNCTIONAL_ERROR` | `addStixCyberObservable` (domain/stixCyberObservable) |  |
| Only Container can be query through this method. | `FUNCTIONAL_ERROR` | `containersPaginated` (domain/stixCoreObject) |  |
| Only enrichment connectors can enrich an element | `FUNCTIONAL_ERROR` | `askElementEnrichmentForConnectors` (domain/stixCoreObject) | `connectorIds` |
| Only internal-relationship can be deleted through this method, got {relationship_type}. | `FUNCTIONAL_ERROR` | `groupDeleteRelation` (domain/group) |  |
| Only stix-core-relationship can be created through this method. | `FUNCTIONAL_ERROR` | `addStixCoreRelationship` (domain/stixCoreRelationship) |  |
| Only stix-core-relationship can be deleted through this method, not {relationshipType}. | `FUNCTIONAL_ERROR` | `stixCoreRelationshipDeleteByFromAndTo` (domain/stixCoreRelationship) |  |
| Only stix-ref-relationship can be added through this method, got {relationship_type}. | `FUNCTIONAL_ERROR` | `externalReferenceAddRelation` (domain/externalReference), `addStixRefRelationship` (domain/stixRefRelationship) |  |
| Only stix-ref-relationship can be deleted through this method, got {relationshipType}. | `FUNCTIONAL_ERROR` | `externalReferenceDeleteRelation` (domain/externalReference) |  |
| Only stix-ref-relationship can be deleted through this method. | `FUNCTIONAL_ERROR` | `stixObjectOrRelationshipDeleteRefRelation` (domain/stixObjectOrStixRelationship) | `id` |
| Password history count must be an integer between 0 and 24 | `FUNCTIONAL_ERROR` | `resolvePasswordHistoryCount` (domain/setting-auth) | `value` |
| Report creation required name and published | `UNSUPPORTED_ERROR` | `addReport` (domain/report) | `name`, `published` |
| Server cant generate connection id | `UNSUPPORTED_ERROR` | `testSync` (domain/connector-utils) |  |
| Stream URL format is not correct | `FUNCTIONAL_ERROR` | `computeStreamRemoteUrl` (domain/connector) |  |
| The default dashboard of an organization is reserved to the administrators | `FORBIDDEN_ACCESS` | `verifyOrganizationAccessSettingsInput` (domain/stixDomainObject) |  |
| The Enterprise Edition is granted by the Filigran license of XTM One and cannot be disabled in this platform | `UNSUPPORTED_ERROR` | `settingsEditField` (domain/settings) |  |
| The password history count can only be changed with the local authentication settings | `FUNCTIONAL_ERROR` | `settingsEditField` (domain/settings) |  |
| The platform bootstrap status cannot be edited | `FORBIDDEN_ACCESS` | `settingsEditField` (domain/settings) |  |
| The targeted ids are not dashboard. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not dashboards. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not investigations. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not knowledge. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not notifications. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not playbooks. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not public dashboards. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| The targeted ids are not users. | `FORBIDDEN_ACCESS` | `checkActionValidity` (domain/backgroundTask-common) |  |
| This message does not exist | `UNSUPPORTED_ERROR` | `settingDeleteMessage` (domain/settings) | `messageId` |
| This method can only create Stix domain | `UNSUPPORTED_ERROR` | `addStixDomainObject` (domain/stixDomainObject) |  |
| This method can only delete Stix element | `UNSUPPORTED_ERROR` | `stixDelete` (domain/stix) | `id`, `type` |
| This relationship type is not supported | `UNSUPPORTED_ERROR` | `patchElementWithRefRelationships` (domain/stixObjectOrStixRelationship) | `relationship_type` |
| You are not allowed to create kill chain phases. | `FORBIDDEN_ACCESS` | `addKillChainPhase` (domain/killChainPhase) | `capability` |
| You are not allowed to edit some settings fields. | `FORBIDDEN_ACCESS` | `settingsEditField` (domain/settings) | `unauthorizedKeys` |
| You must provide an attachment to create a new external reference | `VALIDATION_ERROR` | `addExternalReference` (domain/externalReference) | `field: file` |
| You need to specify a context to create an grouping | `UNSUPPORTED_ERROR` | `addStixDomainObject` (domain/stixDomainObject) |  |
| You need to specify a pattern/pattern_type to create an indicator | `UNSUPPORTED_ERROR` | `addStixDomainObject` (domain/stixDomainObject) |  |
| Your account has been locked for security reasons. Please try again later. | `AUTH_FAILURE` | `LocalAuthLocked` (domain/local-auth-lockout) | `lock`, `remaining_minutes`, `remaining_seconds` |

## graphql {#graphql}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| \[OPENCTI\] API GraphQL framework error | `VALIDATION_ERROR` | `willSendResponse` (graphql/loggerPlugin) | `field`, `source` |
| Feature is disabled | `FORBIDDEN_ACCESS` | `makeFeatureFlagDirectiveTransformer` (graphql/featureFlagDirective) | `flags` |
| GraphQL introspection not authorized! | `RESOURCE_NOT_FOUND` | `checkIntrospection` (graphql/graphql) |  |
| Only subscriptions are allowed over WebSocket | `BAD_USER_INPUT_ERROR` | `onSubscribe` (graphql/graphql) |  |
| Recovery mode is only possible with a start date. | `UNSUPPORTED_ERROR` | `liveStreamHandler` (graphql/sseMiddleware) |  |
| Too many requests | `FUNCTIONAL_ERROR` | `onLimit` (graphql/schema) |  |
| Unknown operation name | `BAD_USER_INPUT_ERROR` | `didResolveOperation` (graphql/graphql) |  |
| Unsecure schema: missing auth or public directive | `UNSUPPORTED_ERROR` | `authDirectiveTransformer` (graphql/authDirective) | `field` |
| You are not allowed to listen this. | `FORBIDDEN_ACCESS` | `subscribeToInstanceEvents` (graphql/subscriptionWrapper) |  |
| You must activate your account with 2FA. | `OTP_REQUIRED_ACTIVATION` | `authDirectiveTransformer` (graphql/authDirective) |  |
| You must activate your LTS license. | `LTS_REQUIRED_ACTIVATION` | `authDirectiveTransformer` (graphql/authDirective) |  |
| You must validate your account with 2FA. | `OTP_REQUIRED` | `authDirectiveTransformer` (graphql/authDirective) |  |

## http {#http}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot execute request in a draft that is not in an open state | `DRAFT_LOCKED` | `checkDraftInContext` (http/httpServer-draft) |  |
| Draft {draft_context} cannot be found{serviceAccountHint} | `FUNCTIONAL_ERROR` | `checkDraftInContext` (http/httpServer-draft) |  |
| User cannot be found | `FUNCTIONAL_ERROR` | `checkDraftInContext` (http/httpServer-draft) |  |
| User must be authenticated | `FORBIDDEN_ACCESS` | `extractWsSessionContext` (http/httpServer) |  |
| Work is no longer alive, no request can be done within the context of this work | `WORK_NOT_ALIVE` | `createGraphqlContext` (http/httpGraphqlContext) |  |

## lock {#lock}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Lock child fork not initialize | `UNSUPPORTED_ERROR` | `childLockResources` (lock/master-lock) |  |

## modules/ai {#modules-ai}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| The NLQ filters response format is not correct: {stringify} | `FUNCTIONAL_ERROR` | `generateNLQresponse` (modules/ai/ai-domain) | `data`, `error` |

## modules/auth {#modules-auth}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Invalid password reset code. Please check the code and try again. | `UNSUPPORTED_ERROR` | `changePassword` (modules/auth/auth-domain), `verifyOtp` (modules/auth/auth-domain) |  |
| Password change failed, please try again. | `UNSUPPORTED_ERROR` | `changePassword` (modules/auth/auth-domain) |  |
| Password reset code expired or not found. Please request a new one. | `PASSWORD_RESET_EXPIRED` | `changePassword` (modules/auth/auth-domain) |  |
| Password reset code expired or not found. Please request a new one. | `UNSUPPORTED_ERROR` | `verifyOtp` (modules/auth/auth-domain) |  |
| Unable to send password reset code. Please try again later or contact your administrator. | `UNSUPPORTED_ERROR` | `askSendOtp` (modules/auth/auth-domain) |  |

## modules/authenticationProvider {#modules-authenticationprovider}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| An authentication provider with the same identifier already exists | `FUNCTIONAL_ERROR` | `ensureUniqueIdentifier` (modules/authenticationProvider/authenticationProvider-domain) | `conflicting_provider_id`, `conflicting_provider_name`, `identifier` |
| Authentication is currently managed by env variables | `UNSUPPORTED_ERROR` | `checkAuthenticationByEnvVariables` (modules/authenticationProvider/authenticationProvider-domain) |  |
| Authentication provider cannot be found | `FUNCTIONAL_ERROR` | `deleteAuthenticationProvider` (modules/authenticationProvider/authenticationProvider-domain), `editAuthenticationProvider` (modules/authenticationProvider/authenticationProvider-domain) | `id` |
| Cannot delete authentication provider, invalid type provided | `FUNCTIONAL_ERROR` | `deleteAuthenticationProvider` (modules/authenticationProvider/authenticationProvider-domain) | `expectedType`, `id`, `providerType` |
| Cannot update authentication provider, invalid type provided | `FUNCTIONAL_ERROR` | `editAuthenticationProvider` (modules/authenticationProvider/authenticationProvider-domain) | `expectedType`, `id`, `providerType` |
| Secret field is missing | `FUNCTIONAL_ERROR` | `mandatory` (modules/authenticationProvider/authenticationProvider-domain) | `field` |

## modules/case {#modules-case}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Case not found | `FUNCTIONAL_ERROR` | `caseDelete` (modules/case/case-resolvers) | `id` |

## modules/catalog {#modules-catalog}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Catalog contracts not found | `FUNCTIONAL_ERROR` | `resolveCatalogContractsByIds` (modules/catalog/catalog-repository) | `ids` |
| Catalog logo not found | `RESOURCE_NOT_FOUND` | `handleCatalogLogoViewRequest` (modules/catalog/catalog-http) |  |
| Contract must be a valid json schema definition | `UNSUPPORTED_ERROR` | `validateSyncSource` (modules/catalog/sync/catalog-sync-source-gateway) | `cause` |
| Contract must define container_image field | `UNSUPPORTED_ERROR` | `validateSyncSource` (modules/catalog/sync/catalog-sync-source-gateway) | `contractTitle` |
| Contract must define container_type field | `UNSUPPORTED_ERROR` | `validateSyncSource` (modules/catalog/sync/catalog-sync-source-gateway) | `contractTitle` |
| Error while preparing logo for contract {id} | `UNSUPPORTED_ERROR` | `computeCatalogLogosSyncOps` (modules/catalog/sync/catalog-sync-domain) | `cause` |
| Field "{propKey}" must be a boolean value (true or false). Received: "{rawValue}" | `UNSUPPORTED_ERROR` | `processConfigurationValue` (modules/catalog/catalog-domain) |  |
| Field "{propKey}" must be a valid integer. Received: "{rawValue}" | `UNSUPPORTED_ERROR` | `processConfigurationValue` (modules/catalog/catalog-domain) |  |
| Invalid platform version for catalog contract compatibility | `UNSUPPORTED_ERROR` | `isSupportVersionCompatible` (modules/catalog/catalog-version-utils) | `platformVersion` |
| Invalid URL format | `UNSUPPORTED_ERROR` | `handleCatalogLogoViewRequest` (modules/catalog/catalog-http) |  |
| Missing logo upload operation for contract {id} | `UNSUPPORTED_ERROR` | `computeCatalogLogosSyncOps` (modules/catalog/sync/catalog-sync-domain) |  |
| Unknown catalog sync source kind ({stringify}) | `UNSUPPORTED_ERROR` | `getCatalogSourceAdapter` (modules/catalog/sync/catalog-sync-source-gateway) |  |
| Unrecognized catalog format: no manifest_schema_version | `UNSUPPORTED_ERROR` | `mapCatalogDtoToCatalogSyncSource` (modules/catalog/sync/catalog-sync-source-gateway) |  |
| Unsupported catalog schema version | `UNSUPPORTED_ERROR` | `mapCatalogDtoToCatalogSyncSource` (modules/catalog/sync/catalog-sync-source-gateway) | `cause` |
| Unsupported custom catalog endpoint URI protocol | `UNSUPPORTED_ERROR` | `parseCustomCatalogEndpointUri` (modules/catalog/sync/catalog-sync-domain) | `supportedProtocols`, `uri` |
| Unsupported logo data format: image exceeds max size | `UNSUPPORTED_ERROR` | `computeCatalogContractLogoUploadOperation` (modules/catalog/catalog-logo-storage) | `actualSizeBytes`, `contractSlug`, `contractTitle`, `maxSizeBytes` |
| Unsupported logo data format: invalid base64 payload | `UNSUPPORTED_ERROR` | `computeCatalogContractLogoUploadOperation` (modules/catalog/catalog-logo-storage) | `contractSlug`, `contractTitle` |
| Unsupported logo data format: invalid URL-encoded payload | `UNSUPPORTED_ERROR` | `computeCatalogContractLogoUploadOperation` (modules/catalog/catalog-logo-storage) | `cause`, `contractSlug`, `contractTitle` |
| Unsupported logo data format: not a data URL | `UNSUPPORTED_ERROR` | `computeCatalogContractLogoUploadOperation` (modules/catalog/catalog-logo-storage) | `contractSlug`, `contractTitle` |
| Unsupported logo mime type | `UNSUPPORTED_ERROR` | `computeCatalogContractLogoUploadOperation` (modules/catalog/catalog-logo-storage) | `contractSlug`, `contractTitle`, `mimeType` |

## modules/configPreset {#modules-configpreset}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A configuration preset dependency cannot be exported | `FUNCTIONAL_ERROR` | `addConfigPresetDependencies` (modules/configPreset/export/configPreset-export-domain) | `item`, `type` |
| An import is already running | `FUNCTIONAL_ERROR` | `withConfigPresetImportLock` (modules/configPreset/import/configPreset-import-lock) | `reason` |
| An import is in progress | `FUNCTIONAL_ERROR` | `checkConfigPresetImportNotApplying` (modules/configPreset/import/configPreset-import-session-domain) | `event`, `status` |
| Cannot export configuration presets in draft | `UNSUPPORTED_ERROR` | `configPresetExport` (modules/configPreset/export/configPreset-export-domain) |  |
| Cannot import configuration presets in draft | `UNSUPPORTED_ERROR` | `checkConfigPresetImportAccess` (modules/configPreset/import/configPreset-import-utils) |  |
| Duplicate configuration preset item mode | `FUNCTIONAL_ERROR` | `checkConfigPresetItemModes` (modules/configPreset/import/configPreset-import-utils) | `item`, `type` |
| Excluded items require a selection of every item of the type | `FUNCTIONAL_ERROR` | `resolveConfigPresetSelections` (modules/configPreset/export/configPreset-export-domain) | `type` |
| Import stopped: lock lost | `FUNCTIONAL_ERROR` | `configPresetPartialImport` (modules/configPreset/import/configPreset-partial-import) |  |
| Select at least one configuration item to export | `FUNCTIONAL_ERROR` | `resolveConfigPresetSelections` (modules/configPreset/export/configPreset-export-domain) |  |
| Select at least one configuration item to import | `FUNCTIONAL_ERROR` | `resolveImportItems` (modules/configPreset/import/configPreset-import-engine), `configPresetPartialImport` (modules/configPreset/import/configPreset-partial-import) |  |
| The configuration bundle is too large | `FUNCTIONAL_ERROR` | `loadConfigPresetImportZip` (modules/configPreset/import/configPreset-import-domain) | `reason` |
| The export is too large to be imported back, select fewer items | `FUNCTIONAL_ERROR` | `append` (modules/configPreset/export/configPreset-export-domain), `appendJson` (modules/configPreset/export/configPreset-export-domain), `writeConfigPresetZip` (modules/configPreset/export/configPreset-export-domain) | `limit`, `name`, `size` |
| The file of the values of an exclusion list is missing from the storage or is not its own | `FUNCTIONAL_ERROR` | `read` (modules/configPreset/registry/exclusionLists-configPreset-registry) | `id`, `name` |
| The import session was deleted by an event that keeps it | `UNSUPPORTED_ERROR` | `toKeptGraphqlSession` (modules/configPreset/import/configPreset-import-session-domain) | `event` |
| The logo of the fintel design "{name}" is not a supported image | `FUNCTIONAL_ERROR` | `read` (modules/configPreset/registry/fintelDesigns-configPreset-registry) | `id`, `name` |
| The previous import was interrupted, start over first | `FUNCTIONAL_ERROR` | `checkConfigPresetImportNotApplying` (modules/configPreset/import/configPreset-import-session-domain) | `event`, `status` |
| The uploaded file no longer exists | `FUNCTIONAL_ERROR` | `fileMissing` (modules/configPreset/import/configPreset-import-domain), `realImport` (modules/configPreset/import/configPreset-import-engine), `save` (modules/configPreset/import/configPreset-import-session) | `reason` |
| The user who started the import no longer exists | `FUNCTIONAL_ERROR` | `reloadConfigPresetImportUser` (modules/configPreset/import/configPreset-import-utils) |  |
| The user who started the import no longer has the right to import | `FUNCTIONAL_ERROR` | `reloadConfigPresetImportUser` (modules/configPreset/import/configPreset-import-utils) |  |
| This action is not available in the current state of the import | `FUNCTIONAL_ERROR` | `transitionConfigPresetImportSession` (modules/configPreset/import/configPreset-import-session) | `event`, `status` |
| This configuration type cannot be imported | `FUNCTIONAL_ERROR` | `findImportableFamily` (modules/configPreset/import/configPreset-partial-import) | `type` |
| Unknown configuration preset item | `FUNCTIONAL_ERROR` | `resolveConfigPresetSelections` (modules/configPreset/export/configPreset-export-domain), `pickConfigPresetTypeItems` (modules/configPreset/import/configPreset-import-utils) | `item`, `type` |
| Unknown configuration preset type | `FUNCTIONAL_ERROR` | `findConfigPresetFamily` (modules/configPreset/export/configPreset-export-domain), `findConfigPresetFamily` (modules/configPreset/import/configPreset-import-utils) | `type` |
| Unsupported import mode for this configuration preset type | `FUNCTIONAL_ERROR` | `checkConfigPresetItemModes` (modules/configPreset/import/configPreset-import-utils) | `item`, `mode`, `type` |

## modules/connector {#modules-connector}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Catalog not found | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) | `catalogId` |
| Configuration validation failed | `FUNCTIONAL_ERROR` | `migrateConnectorToManaged` (modules/connector/connector-migration) | `details`, `message` |
| Connector is already managed | `FUNCTIONAL_ERROR` | `assessConnectorMigration` (modules/connector/connector-migration), `migrateConnectorToManaged` (modules/connector/connector-migration) | `id` |
| Connector is not managed | `FUNCTIONAL_ERROR` | `computeForManagedConnector` (modules/connector/connector-domain) | `connectorId` |
| Connector is not managed by composer | `FUNCTIONAL_ERROR` | `migrateConnectorToManaged` (modules/connector/connector-migration) |  |
| Connector not found | `FUNCTIONAL_ERROR` | `assessConnectorMigration` (modules/connector/connector-migration), `migrateConnectorToManaged` (modules/connector/connector-migration) | `id` |
| Connector not found | `UNSUPPORTED_ERROR` | `managedConnectorEdit` (modules/connector/connector-domain) | `id` |
| Connector type mismatch | `FUNCTIONAL_ERROR` | `assessConnectorMigration` (modules/connector/connector-migration), `migrateConnectorToManaged` (modules/connector/connector-migration) | `connector_type`, `contract_type` |
| Connector user not found | `UNSUPPORTED_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) | `id` |
| CONNECTOR_NAME_ALREADY_EXISTS | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) |  |
| Contract not found | `FUNCTIONAL_ERROR` | `assessConnectorMigration` (modules/connector/connector-migration), `migrateConnectorToManaged` (modules/connector/connector-migration) | `container_image` |
| Invalid configuration keys provided | `FUNCTIONAL_ERROR` | `migrateConnectorToManaged` (modules/connector/connector-migration) | `invalid_keys`, `message` |
| Invalid connector name | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) |  |
| Invalid manager contract snapshot | `FUNCTIONAL_ERROR` | `computeManagerConnectorImage` (modules/connector/connector-domain) | `connectorId`, `image`, `version` |
| Managed connector auto-upgrade timed out | `FUNCTIONAL_ERROR` | `waitForManagedConnectorAutoUpgrade` (modules/connector/managed-connector-auto-upgrade-readiness) | `timeout` |
| Missing manager contract snapshot | `FUNCTIONAL_ERROR` | `computeManagerConnectorImage` (modules/connector/connector-domain) | `catalogId`, `connectorId` |
| Missing manager requested status | `FUNCTIONAL_ERROR` | `computeManagedConnectorRequestedStatus` (modules/connector/connector-domain) | `connectorId` |
| No connector found with the specified ID | `FUNCTIONAL_ERROR` | `pingConnector` (modules/connector/connector-domain) | `id` |
| No connector manager configured | `FUNCTIONAL_ERROR` | `migrateConnectorToManaged` (modules/connector/connector-migration) |  |
| Target contract not found | `UNSUPPORTED_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain), `managedConnectorEdit` (modules/connector/connector-domain) |  |
| There is no connector manager configured | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain), `managedConnectorEdit` (modules/connector/connector-domain) |  |
| This connector is not compatible with the platform version | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) | `image`, `platformVersion` |
| Update is only possible on internal enrichment or import file connectors types | `FUNCTIONAL_ERROR` | `connectorTriggerUpdate` (modules/connector/connector-domain) | `connectorId` |
| Update is only possible on these input keys: connector_trigger_filters | `FUNCTIONAL_ERROR` | `connectorTriggerUpdate` (modules/connector/connector-domain) | `connectorId` |
| You have not chosen a connector supported by the manager | `FUNCTIONAL_ERROR` | `managedConnectorAdd` (modules/connector/connector-domain) |  |

## modules/customField {#modules-customfield}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A custom field with this alias already exists | `VALIDATION_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain), `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `alias`, `aliases`, `field: alias`, `field: aliases` |
| A custom field with this label already exists | `VALIDATION_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain), `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `field: label`, `label` |
| A custom field with this technical name already exists | `VALIDATION_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain) | `field: nameSuffix`, `name` |
| An alias must start with "x\_" and contain only lowercase letters, numbers and underscores | `VALIDATION_ERROR` | `checkCustomFieldAliasesFormat` (modules/customField/custom-field-domain) | `aliases`, `field: aliases` |
| boolean_value is required for boolean type custom field | `FUNCTIONAL_ERROR` | `validateBooleanField` (modules/customField/custom-field-validator) | `field_name` |
| boolean_value must be a boolean | `FUNCTIONAL_ERROR` | `validateBooleanField` (modules/customField/custom-field-validator) | `field_name` |
| Cannot create a custom field definition attached to entity types, use the entity type mutations | `FUNCTIONAL_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain) | `entity_types` |
| Cannot modify immutable fields on a custom field definition | `FUNCTIONAL_ERROR` | `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `keys` |
| Cannot modify the entity types of a custom field definition, use the entity type mutations | `FUNCTIONAL_ERROR` | `customFieldDefinitionEdit` (modules/customField/custom-field-domain) | `keys` |
| Cannot remove a select option that is still used by existing entities | `VALIDATION_ERROR` | `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `field: select_options`, `options`, `usageCount` |
| Cannot remove mandatory custom field value | `FUNCTIONAL_ERROR` | `validateCustomFieldValuesEditInput` (modules/customField/custom-field-validator) | `field` |
| Cannot restrict the value range: existing entities hold a value outside the new bounds | `VALIDATION_ERROR` | `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `field`, `max_value`, `min_value`, `usageCount` |
| Custom field definition is not attached to this entity type | `FUNCTIONAL_ERROR` | `customFieldDefinitionUpdateEntityType` (modules/customField/custom-field-domain) | `entityType`, `id` |
| Custom field definition not found | `FUNCTIONAL_ERROR` | `customFieldDefinitionAddEntityType` (modules/customField/custom-field-domain), `customFieldDefinitionRemoveEntityType` (modules/customField/custom-field-domain), `customFieldDefinitionUpdateEntityType` (modules/customField/custom-field-domain) | `id` |
| Custom field definition not found for this entity type | `FUNCTIONAL_ERROR` | `validateCustomFieldValues` (modules/customField/custom-field-validator) | `entityType`, `field_name` |
| Custom field id does not match its name | `FUNCTIONAL_ERROR` | `resolveCustomFieldValuesIdentity` (modules/customField/custom-field-validator) | `field_id`, `field_name` |
| Custom field name not found for this entity type | `FUNCTIONAL_ERROR` | `resolveCustomFieldValuesIdentity` (modules/customField/custom-field-validator) | `field_id`, `field_name` |
| date_value is required for date type custom field | `FUNCTIONAL_ERROR` | `validateDateField` (modules/customField/custom-field-validator) | `field_name` |
| date_value must be a valid ISO date string | `FUNCTIONAL_ERROR` | `validateDateField` (modules/customField/custom-field-validator) | `field_name`, `value` |
| Duplicate custom field entries found in customFieldValues | `FUNCTIONAL_ERROR` | `validateCustomFieldValues` (modules/customField/custom-field-validator) | `duplicates` |
| float_value is required for decimal type custom field | `FUNCTIONAL_ERROR` | `validateDecimalField` (modules/customField/custom-field-validator) | `field_name` |
| float_value must be a finite number | `FUNCTIONAL_ERROR` | `validateDecimalField` (modules/customField/custom-field-validator) | `field_name`, `value` |
| int_value is above maximum | `FUNCTIONAL_ERROR` | `validateIntegerField` (modules/customField/custom-field-validator) | `field_name`, `max`, `value` |
| int_value is below minimum | `FUNCTIONAL_ERROR` | `validateIntegerField` (modules/customField/custom-field-validator) | `field_name`, `min`, `value` |
| int_value is required for integer type custom field | `FUNCTIONAL_ERROR` | `validateIntegerField` (modules/customField/custom-field-validator) | `field_name` |
| int_value must be a 32-bit integer | `FUNCTIONAL_ERROR` | `validateIntegerField` (modules/customField/custom-field-validator) | `field_name`, `max`, `min`, `value` |
| int_value must be an integer | `FUNCTIONAL_ERROR` | `validateIntegerField` (modules/customField/custom-field-validator) | `field_name`, `value` |
| Invalid default value for the custom field | `FUNCTIONAL_ERROR` | `validateCustomFieldDefaultValue` (modules/customField/custom-field-validator) | `default_value`, `field_name`, `field_type` |
| Mandatory custom field is missing | `FUNCTIONAL_ERROR` | `validateCustomFieldValues` (modules/customField/custom-field-validator) | `field_name`, `label` |
| min_value cannot be greater than max_value | `FUNCTIONAL_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain), `editCustomFieldDefinition` (modules/customField/custom-field-domain) | `max_value`, `min_value` |
| No custom field definitions found for entity type | `FUNCTIONAL_ERROR` | `validateCustomFieldValues` (modules/customField/custom-field-validator) | `entityType` |
| No select_options configured for this custom field | `FUNCTIONAL_ERROR` | `validateMultiSelectField` (modules/customField/custom-field-validator), `validateSelectField` (modules/customField/custom-field-validator) | `field_name` |
| select_options must be provided for select type fields | `FUNCTIONAL_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain) |  |
| select_value is not in the allowed options | `FUNCTIONAL_ERROR` | `validateSelectField` (modules/customField/custom-field-validator) | `allowed`, `field_name`, `value` |
| select_value is required for select type custom field | `FUNCTIONAL_ERROR` | `validateSelectField` (modules/customField/custom-field-validator) | `field_name` |
| select_values contains values that are not in the allowed options | `FUNCTIONAL_ERROR` | `validateMultiSelectField` (modules/customField/custom-field-validator) | `allowed`, `field_name`, `value` |
| select_values is required for multi_select type custom field | `FUNCTIONAL_ERROR` | `validateMultiSelectField` (modules/customField/custom-field-validator) | `field_name` |
| select_values must be an array | `FUNCTIONAL_ERROR` | `validateMultiSelectField` (modules/customField/custom-field-validator) | `field_name` |
| string_value is required for string type custom field | `FUNCTIONAL_ERROR` | `validateStringField` (modules/customField/custom-field-validator) | `field_name` |
| string_value must be a string | `FUNCTIONAL_ERROR` | `validateStringField` (modules/customField/custom-field-validator) | `field_name` |
| Technical name must start with "x_opencti_cf\_" and contain only lowercase letters, numbers and underscores, starting with a letter | `VALIDATION_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain) | `field: nameSuffix`, `name` |
| The description of a custom field is required | `VALIDATION_ERROR` | `checkCustomFieldDescription` (modules/customField/custom-field-domain) | `field: description` |
| Unknown custom field type | `FUNCTIONAL_ERROR` | `getCustomFieldValueField` (modules/customField/custom-field-cache), `parseCustomFieldDefaultValue` (modules/customField/custom-field-validator), `validateSingleCustomFieldValue` (modules/customField/custom-field-validator) and 1 more | `fieldType`, `field_name`, `field_type` |
| Unsupported custom field type | `FUNCTIONAL_ERROR` | `customFieldDefinitionAdd` (modules/customField/custom-field-domain) | `allowed`, `field_type` |

## modules/customView {#modules-customview}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A widget using dashboard variables cannot be imported into a custom view | `FUNCTIONAL_ERROR` | `validateWidget` (modules/customView/customView-domain) |  |
| Custom views cannot be created for given entity type | `FUNCTIONAL_ERROR` | `addCustomView` (modules/customView/customView-domain), `duplicateCustomView` (modules/customView/customView-domain), `importCustomViewConfiguration` (modules/customView/customView-domain) | `entityType` |
| Missing target entity type for custom view import | `FUNCTIONAL_ERROR` | `importCustomViewConfiguration` (modules/customView/customView-domain) |  |

## modules/dashboard {#modules-dashboard}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Failed to parse saved filter | `FUNCTIONAL_ERROR` | `resolveSavedFilterReference` (modules/dashboard/dashboard-utils) | `error`, `savedFiltersContent`, `savedFiltersId`, `widget` |
| Invalid dashboard file. The dashboard configuration must have a name | `FUNCTIONAL_ERROR` | `checkDashboardConfigurationImport` (modules/dashboard/dashboard-utils) | `reason` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 5.12.16 | `FUNCTIONAL_ERROR` | `checkDashboardConfigurationImport` (modules/dashboard/dashboard-utils) | `reason` |
| Saved filter not found | `FUNCTIONAL_ERROR` | `resolveSavedFilterReference` (modules/dashboard/dashboard-utils) | `savedFiltersId`, `widget` |

## modules/dataSanity {#modules-datasanity}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Unknown sanity operation: {operationName} | `FUNCTIONAL_ERROR` | `stopOperation` (modules/dataSanity/dataSanity-domain) | `operation_name` |

## modules/dataSharing {#modules-datasharing}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| {feedType} is not supported in http feeds | `UNSUPPORTED_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) |  |
| A user must be configured when the feed is public | `FUNCTIONAL_ERROR` | `createFeed` (modules/dataSharing/feed-domain), `editFeed` (modules/dataSharing/feed-domain) |  |
| A user must be configured when the stream collection is public | `FUNCTIONAL_ERROR` | `createStreamCollection` (modules/dataSharing/streamCollection-domain), `streamCollectionEditField` (modules/dataSharing/streamCollection-domain) |  |
| A user must be configured when the Taxii collection is public | `FUNCTIONAL_ERROR` | `createTaxiiCollection` (modules/dataSharing/taxiiCollection-domain), `taxiiCollectionEditField` (modules/dataSharing/taxiiCollection-domain) |  |
| Cannot use an internal system user for public sharing | `FUNCTIONAL_ERROR` | `resolveValidUser` (modules/dataSharing/dataSharing-utils) | `userId` |
| Feed {id} cant be found | `FUNCTIONAL_ERROR` | `editFeed` (modules/dataSharing/feed-domain) |  |
| Feed mappings length does not match global types length | `UNSUPPORTED_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) |  |
| Invalid multi_match_strategy "{multi_match_strategy}", must be "first" or "list" | `VALIDATION_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) | `field: multi_match_strategy` |
| Invalid spec_version provided, only '2.1' supported | `FUNCTIONAL_ERROR` | `collectionQuery` (modules/dataSharing/taxiiCollection-domain) | `spec_version` |
| Invalid version provided, only 'last' supported | `FUNCTIONAL_ERROR` | `collectionQuery` (modules/dataSharing/taxiiCollection-domain) | `version` |
| Mapping for type "{type}" in attribute "{attribute}": relationship_type and target_entity_type must both be set or both be absent | `VALIDATION_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) | `field: feed_attributes` |
| Multi-match separator for column "{attribute}" must differ from the feed CSV separator ("{separator}") | `VALIDATION_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) | `field: multi_match_separator` |
| Separator must be only one char | `VALIDATION_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) | `field: separator` |
| The attribute {attribute} contains an invalid mapping. | `UNSUPPORTED_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) |  |
| The mapping of the type {feedType} is missing in the attribute {attribute}. | `UNSUPPORTED_ERROR` | `checkFeedIntegrity` (modules/dataSharing/feed-domain) |  |
| The user configured for this public sharing no longer exists | `FUNCTIONAL_ERROR` | `resolveValidUser` (modules/dataSharing/dataSharing-utils) | `userId` |
| You must have the SETTINGS_SETACCESSES capability to create a public feed | `FUNCTIONAL_ERROR` | `createFeed` (modules/dataSharing/feed-domain) |  |
| You must have the SETTINGS_SETACCESSES capability to create a public stream collection | `FUNCTIONAL_ERROR` | `createStreamCollection` (modules/dataSharing/streamCollection-domain) |  |
| You must have the SETTINGS_SETACCESSES capability to create a public Taxii collection | `FUNCTIONAL_ERROR` | `createTaxiiCollection` (modules/dataSharing/taxiiCollection-domain) |  |
| You must have the SETTINGS_SETACCESSES capability to modify public feed settings | `FUNCTIONAL_ERROR` | `editFeed` (modules/dataSharing/feed-domain) |  |
| You must have the SETTINGS_SETACCESSES capability to modify public stream collection settings | `FUNCTIONAL_ERROR` | `streamCollectionEditField` (modules/dataSharing/streamCollection-domain) |  |
| You must have the SETTINGS_SETACCESSES capability to modify public Taxii collection settings | `FUNCTIONAL_ERROR` | `taxiiCollectionEditField` (modules/dataSharing/taxiiCollection-domain) |  |

## modules/decayRule {#modules-decayrule}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot delete built-in decay rule {id} | `FUNCTIONAL_ERROR` | `deleteDecayRule` (modules/decayRule/decayRule-domain) |  |
| Cannot update built-in decay rule {id} | `FUNCTIONAL_ERROR` | `fieldPatchDecayRule` (modules/decayRule/decayRule-domain) |  |
| Decay exclusion rule {id} cannot be found | `FUNCTIONAL_ERROR` | `deleteDecayExclusionRule` (modules/decayRule/exclusions/decayExclusionRule-domain), `fieldPatchDecayExclusionRule` (modules/decayRule/exclusions/decayExclusionRule-domain) |  |
| Decay rule {id} cannot be found | `FUNCTIONAL_ERROR` | `deleteDecayRule` (modules/decayRule/decayRule-domain), `fieldPatchDecayRule` (modules/decayRule/decayRule-domain) |  |

## modules/deleteOperation {#modules-deleteoperation}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot find DeleteOperation | `FUNCTIONAL_ERROR` | `restoreDelete` (modules/deleteOperation/deleteOperation-domain) | `id` |
| Cannot restore entity, duplicate existing entity detected | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) | `deleteOperationId` |
| Cannot restore from DeleteOperation: one or more deleted elements not found. | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) | `id` |
| Cannot restore main entity: unhandled entity type | `FUNCTIONAL_ERROR` | `restoreDelete` (modules/deleteOperation/deleteOperation-domain) | `main_entity_type` |
| Cannot restore relation, duplicate existing relation detected | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) | `deleteOperationId` |
| Cannot restore the cluster, cycle detected | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) |  |
| Cannot restore: a relationship targets deleted elements \[{name}\], restore them before retrying | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) | `deleteOperationId` |
| Cannot restore: a target element of a relationship has been permanently deleted and cannot be recovered | `FUNCTIONAL_ERROR` | `resolveEntitiesToRestore` (modules/deleteOperation/deleteOperation-domain) | `deleteOperationId` |
| Could not convert element to input for DeleteOperation restore | `FUNCTIONAL_ERROR` | `convertStoreEntityToInput` (modules/deleteOperation/deleteOperation-domain) | `entity_type` |
| Delete operation {id} cannot be found | `FUNCTIONAL_ERROR` | `processDeleteOperation` (modules/deleteOperation/deleteOperation-domain) |  |

## modules/disseminationList {#modules-disseminationlist}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot download file for dissemination | `UNSUPPORTED_ERROR` | `sendDisseminationEmail` (modules/disseminationList/disseminationList-domain) | `cause`, `id` |
| Cant find base element of dissemination | `UNSUPPORTED_ERROR` | `sendToDisseminationList` (modules/disseminationList/disseminationList-domain) | `entity_id` |
| Dissemination list {id} cannot be found | `FUNCTIONAL_ERROR` | `fieldPatchDisseminationList` (modules/disseminationList/disseminationList-domain) |  |
| Emails are not correctly formatted | `UNSUPPORTED_ERROR` | `validationEmails` (modules/disseminationList/disseminationList-domain) |  |
| File cant be disseminate | `UNSUPPORTED_ERROR` | `sendDisseminationEmail` (modules/disseminationList/disseminationList-domain) | `id` |
| File not found in storage | `UNSUPPORTED_ERROR` | `sendDisseminationEmail` (modules/disseminationList/disseminationList-domain) | `id` |
| File type in the body must be {allowedTypesInBody} | `UNSUPPORTED_ERROR` | `sendDisseminationEmail` (modules/disseminationList/disseminationList-domain) | `id` |
| id is not of type DisseminationList | `FUNCTIONAL_ERROR` | `sendToDisseminationList` (modules/disseminationList/disseminationList-domain) | `id` |
| You cannot have more than 500 e-mail addresses | `UNSUPPORTED_ERROR` | `validationEmails` (modules/disseminationList/disseminationList-domain) |  |

## modules/draftWorkspace {#modules-draftworkspace}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot delete draft while in draft context | `UNSUPPORTED_ERROR` | `deleteDraftWorkspace` (modules/draftWorkspace/draftWorkspace-domain) |  |
| Draft {draftId} cannot be found | `FUNCTIONAL_ERROR` | `checkAndReturnDraft` (modules/draftWorkspace/draftWorkspace-domain) |  |
| Draft workspace cannot be validated in this state | `FUNCTIONAL_ERROR` | `validateDraftWorkspace` (modules/draftWorkspace/draftWorkspace-domain) | `draftId`, `status` |
| Too many IDs to resolve (max 100) | `FUNCTIONAL_ERROR` | `resolveIdRepresentatives` (modules/draftWorkspace/draftWorkspace-domain) | `count` |

## modules/emailTemplate {#modules-emailtemplate}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Email template {emailTemplateId} cannot be found | `FUNCTIONAL_ERROR` | `fieldPatchEmailTemplate` (modules/emailTemplate/emailTemplate-domain) |  |

## modules/entitySetting {#modules-entitysetting}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Each tick value must be between min and max value | `VALIDATION_ERROR` | `scaleValidation` (modules/entitySetting/entitySetting-validators) | `field` |
| It should have at least one member with admin access | `FUNCTIONAL_ERROR` | `entitySettingEditField` (modules/entitySetting/entitySetting-domain) |  |
| The max value cannot be lower than min value | `VALIDATION_ERROR` | `scaleValidation` (modules/entitySetting/entitySetting-validators) | `field` |
| The max value must be between 0 and 100 | `VALIDATION_ERROR` | `scaleValidation` (modules/entitySetting/entitySetting-validators) | `field` |
| The min value cannot be greater than max value | `VALIDATION_ERROR` | `scaleValidation` (modules/entitySetting/entitySetting-validators) | `field` |
| The min value must be between 0 and 100 | `VALIDATION_ERROR` | `scaleValidation` (modules/entitySetting/entitySetting-validators) | `field` |
| This attribute is not customizable for this entity | `VALIDATION_ERROR` | `attributesConfigurationValidation` (modules/entitySetting/entitySetting-validators) | `entityType`, `field` |
| This attribute is not scalable for this entity | `VALIDATION_ERROR` | `attributesConfigurationValidation` (modules/entitySetting/entitySetting-validators) | `entityType`, `field` |
| This entity type is not support for entity settings | `UNSUPPORTED_ERROR` | `getAvailableSettings` (modules/entitySetting/entitySetting-utils) | `target_type` |
| This field is not supported to declare a default value. You can only activate/deactivate the possibility to have a default value. | `VALIDATION_ERROR` | `attributesConfigurationValidation` (modules/entitySetting/entitySetting-validators) | `entityType`, `field` |
| This setting is not available for this entity | `UNSUPPORTED_ERROR` | `optionsValidation` (modules/entitySetting/entitySetting-validators), `validateSetting` (modules/entitySetting/entitySetting-validators) | `entity`, `setting` |

## modules/exclusionList {#modules-exclusionlist}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Exclusion list {id} cannot be found | `FUNCTIONAL_ERROR` | `fieldPatchExclusionList` (modules/exclusionList/exclusionList-domain) |  |
| Exclusion list file format must be text/plain | `UNSUPPORTED_ERROR` | `uploadExclusionListFile` (modules/exclusionList/exclusionList-domain) | `mimeType` |
| Exclusion list file too large | `FUNCTIONAL_ERROR` | `checkFileSize` (modules/exclusionList/exclusionList-domain), `readExclusionListFile` (modules/exclusionList/exclusionList-file) | `id`, `maxFileSize` |

## modules/fintelDesign {#modules-finteldesign}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Fintel design {id} cannot be found | `FUNCTIONAL_ERROR` | `fintelDesignEditField` (modules/fintelDesign/fintelDesign-domain) |  |
| Fintel design logo file format must be image/ | `UNSUPPORTED_ERROR` | `uploadFintelDesignFile` (modules/fintelDesign/fintelDesign-domain) | `mimeType` |
| The logo of the fintel design "{name}" is missing from the storage | `FUNCTIONAL_ERROR` | `readFintelDesignLogo` (modules/fintelDesign/fintelDesign-logo) | `id`, `name` |
| The logo of the fintel design "{name}" is not its own file | `FUNCTIONAL_ERROR` | `readFintelDesignLogo` (modules/fintelDesign/fintelDesign-logo) | `id`, `name` |
| The logo of the fintel design "{name}" is too large | `FUNCTIONAL_ERROR` | `readFintelDesignLogo` (modules/fintelDesign/fintelDesign-logo) | `id`, `maxFileSize`, `name` |
| The logo of the fintel design is not a supported image | `FUNCTIONAL_ERROR` | `readFintelDesignLogoUpload` (modules/fintelDesign/fintelDesign-logo) |  |
| The logo of the fintel design is too large | `FUNCTIONAL_ERROR` | `transform` (modules/fintelDesign/fintelDesign-logo) | `maxFileSize` |

## modules/fintelTemplate {#modules-finteltemplate}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Attributes should all have a variable name | `FUNCTIONAL_ERROR` | `checkFintelTemplateWidgetsValidity` (modules/fintelTemplate/fintelTemplate-domain) | `variableNameOfTheWidget` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 6.5.0 | `FUNCTIONAL_ERROR` | `fintelTemplateConfigurationImport` (modules/fintelTemplate/fintelTemplate-domain) | `reason` |
| Variable names should not contain spaces or special chars (except - and \_) | `FUNCTIONAL_ERROR` | `checkFintelTemplateWidgetsValidity` (modules/fintelTemplate/fintelTemplate-domain) | `invalidVariableNames` |

## modules/form {#modules-form}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A form with the name "{name}" already exists for entity type "{mainEntityType}" | `FUNCTIONAL_ERROR` | `addForm` (modules/form/form-domain) |  |
| A pooled pending object cannot have refs | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `id` |
| A pooled pending object lacks a required attribute | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `attribute`, `entityType`, `id` |
| A pooled pending object requires an id | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `entityType` |
| An Artifact created in a form takes one file | `FUNCTIONAL_ERROR` | `applyArtifactFile` (modules/form/form-pending) | `files` |
| An external reference created in a form requires a URL or an external ID | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `id` |
| An external reference must be an existing one or one created in the form | `FUNCTIONAL_ERROR` | `transformSpecialFields` (modules/form/form-fields-converter) | `field` |
| An object created in a form must be an object | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) |  |
| An object created in a form requires an entityType | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) |  |
| An object created in a form requires an input object | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType` |
| An object has a single author | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `key` |
| An upload is not referenced by any object created in the form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `uploadIndex` |
| Cannot read values | `FUNCTIONAL_ERROR` | `planSubmission` (modules/form/form-domain) | `error` |
| Duplicate pending object id | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `id` |
| Failed to process form submission | `FUNCTIONAL_ERROR` | `commitSubmission` (modules/form/form-domain), `planSubmission` (modules/form/form-domain) | `cause` |
| Files cannot be attached to a label created in a form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `id` |
| Form is inactive | `FUNCTIONAL_ERROR` | `formSubmit` (modules/form/form-domain) | `id` |
| Form not found | `FUNCTIONAL_ERROR` | `formSubmit` (modules/form/form-domain) | `id` |
| Invalid file of an object created in a form | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType` |
| Invalid form schema: {stringify} | `FUNCTIONAL_ERROR` | `addForm` (modules/form/form-domain), `formEditField` (modules/form/form-domain) |  |
| Invalid import file type | `FUNCTIONAL_ERROR` | `importFormConfiguration` (modules/form/form-domain) | `expected`, `received` |
| Invalid JSON in form_schema: {error} | `FUNCTIONAL_ERROR` | `addForm` (modules/form/form-domain), `formEditField` (modules/form/form-domain) |  |
| Invalid objects created in a form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `field` |
| Invalid pending ref | `FUNCTIONAL_ERROR` | `validatePendingRef` (modules/form/form-pending) | `key` |
| Markdown embedded image is too large | `FUNCTIONAL_ERROR` | `applyPendingFiles` (modules/form/form-pending) | `name` |
| Objects cannot be created in a field that is not an entity lookup | `FUNCTIONAL_ERROR` | `validatePendingRoots` (modules/form/form-pending) | `field` |
| Objects cannot be created in this field, only existing ones can be selected | `FUNCTIONAL_ERROR` | `validatePendingRoots` (modules/form/form-pending) | `field` |
| Only labels and external references can be pooled | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `entityType`, `id` |
| Pending field ref must target a pooled label or external reference | `FUNCTIONAL_ERROR` | `resolve` (modules/form/form-pending) | `id` |
| Pending file refers to a missing upload | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `name`, `uploadIndex` |
| Pending ref cannot target this entity type | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `entityType`, `id`, `key` |
| Pending ref does not target an accessible entity of the expected type | `FUNCTIONAL_ERROR` | `loadExisting` (modules/form/form-pending) | `id`, `key` |
| Pending ref not found in submission | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `id`, `key` |
| The embedded images do not match the image references of the description | `FUNCTIONAL_ERROR` | `applyPendingFiles` (modules/form/form-pending) | `images`, `references` |
| The files of an object created in a form must be a list | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType` |
| The id of an object created in a form must be a string | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType` |
| The labels and external references created in the form are too large once copied on the objects that use them | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `maxBytes` |
| The pending objects of a form must be a list | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) |  |
| The refs of an object created in a form must be an object | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType` |
| The uploads of the form are too large | `FUNCTIONAL_ERROR` | `readUploads` (modules/form/form-pending) | `maxBytes` |
| This attribute cannot be set when creating an object in a form: {key} | `FUNCTIONAL_ERROR` | `isCopyableAttribute` (modules/form/form-pending) | `attribute`, `entityType` |
| This field accepts a single object | `FUNCTIONAL_ERROR` | `validatePendingRoots` (modules/form/form-pending) | `field` |
| This field cannot create an object of this type | `FUNCTIONAL_ERROR` | `validatePendingRoots` (modules/form/form-pending) | `entityType`, `expected`, `field` |
| This field cannot receive this object created in the form | `FUNCTIONAL_ERROR` | `resolve` (modules/form/form-pending) | `entityType`, `id` |
| This field is not supported when creating an object in a form: {field} | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType`, `field` |
| This field is not supported when creating an object in a form: objectOrganization | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType`, `field` |
| This field must contain the ids of existing objects | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType`, `field` |
| This option is not supported when creating an object in a form: {field} | `FUNCTIONAL_ERROR` | `validatePendingObjectShape` (modules/form/form-pending) | `entityType`, `field` |
| Too many labels and external references created in the form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `max` |
| Too many objects created in the form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `max` |
| Too many references in the objects created in the form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `max` |
| Too many references on an object created in the form | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `max` |
| Unknown field for objects created in a form | `FUNCTIONAL_ERROR` | `validatePendingRoots` (modules/form/form-pending) | `field` |
| Unsupported pending ref | `FUNCTIONAL_ERROR` | `validatePendingPayload` (modules/form/form-pending) | `key` |
| You are not allowed to create labels. | `FORBIDDEN_ACCESS` | `checkFormSubmissionAccess` (modules/form/form-submission-context) | `capability` |
| You are not allowed to submit forms in this destination. | `FORBIDDEN_ACCESS` | `checkFormSubmissionAccess` (modules/form/form-submission-context) | `isDraft` |

## modules/indicator {#modules-indicator}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot edit the field, Indicator cannot be found. | `FUNCTIONAL_ERROR` | `indicatorEditField` (modules/indicator/indicator-domain) | `id` |
| Indicator of type {patternType} is contained in exclusion list. | `FUNCTIONAL_ERROR` | `validateIndicatorPattern` (modules/indicator/indicator-domain) | `doc_code: INDICATOR_PATTERN_EXCLUDED`, `excludedValue`, `exclusionList` |
| Indicator of type {patternType} is not correctly formatted. | `FUNCTIONAL_ERROR` | `validateIndicatorPattern` (modules/indicator/indicator-domain) | `doc_code: INCORRECT_INDICATOR_FORMAT` |
| Observable type {observableType} is not supported. | `FUNCTIONAL_ERROR` | `addIndicator` (modules/indicator/indicator-domain) |  |
| The valid until date must be greater than the valid from date | `VALIDATION_ERROR` | `indicatorEditField` (modules/indicator/indicator-domain), `computeValidUntil` (modules/indicator/indicator-utils) | `field`, `field: valid_until`, `input`, `valid_from`, `valid_until` |

## modules/ingestion {#modules-ingestion}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Certificate, CA and Key cannot have : character. | `FUNCTIONAL_ERROR` | `verifyIngestionAuthenticationContent` (modules/ingestion/ingestion-common) | `authenticationType` |
| Invalid JSON feed configuration: missing embedded JSON mapper | `FUNCTIONAL_ERROR` | `jsonFeedAddInputFromImport` (modules/ingestion/ingestion-json-domain) |  |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 6.9.4 | `FUNCTIONAL_ERROR` | `taxiiFeedAddInputFromImport` (modules/ingestion/ingestion-taxii-domain) | `reason` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 7.260309.0 | `FUNCTIONAL_ERROR` | `rssFeedAddInputFromImport` (modules/ingestion/ingestion-rss-domain) | `reason` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 7.260722.0 | `FUNCTIONAL_ERROR` | `jsonFeedAddInputFromImport` (modules/ingestion/ingestion-json-domain), `taxiiCollectionAddInputFromImport` (modules/ingestion/ingestion-taxii-collection-domain) | `reason` |
| Username and password cannot have : character. | `FUNCTIONAL_ERROR` | `verifyIngestionAuthenticationContent` (modules/ingestion/ingestion-common) | `authenticationType` |
| You are not allowed to use this user for this ingestion | `FORBIDDEN_ACCESS` | `assertIngestionExecutionIdentityAllowed` (modules/ingestion/ingestion-execution-identity), `validateIngestionExecutionIdentity` (modules/ingestion/ingestion-execution-identity) | `id` |

## modules/ingestionDeduplication {#modules-ingestiondeduplication}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A deduplication rule already exists for this user and entity type | `FUNCTIONAL_ERROR` | `checkRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) | `target_type`, `user_id` |
| Deduplication is not available for this entity type | `FUNCTIONAL_ERROR` | `checkRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) | `target_type` |
| Ingestion deduplication rule {id} cannot be found | `FUNCTIONAL_ERROR` | `deleteIngestionDeduplicationRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain), `fieldPatchIngestionDeduplicationRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) |  |
| Only the excluded fields and the expiration of a deduplication rule can be changed | `FUNCTIONAL_ERROR` | `fieldPatchIngestionDeduplicationRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) |  |
| The expiration must be a positive number of seconds | `FUNCTIONAL_ERROR` | `checkTtl` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) | `ttl` |
| The user of a deduplication rule must exist | `FUNCTIONAL_ERROR` | `checkRule` (modules/ingestionDeduplication/ingestionDeduplicationRule-domain) | `user_id` |

## modules/ingestionHealth {#modules-ingestionhealth}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Invalid disabled health checks, expected distinct codes among {keys} | `UNSUPPORTED_ERROR` | `validateIngestionHealthSettingsInput` (modules/ingestionHealth/ingestionHealth-settings) |  |
| Invalid ingestion health notification delay, expected an integer between 0 and 86400000 ms | `UNSUPPORTED_ERROR` | `validateIngestionHealthSettingsInput` (modules/ingestionHealth/ingestionHealth-settings) |  |

## modules/internal {#modules-internal}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Attribute can't be multiple | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils), `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `attribute`, `representation` |
| Can't reference the representation itself | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils), `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `attribute`, `representation` |
| Cannot delete this CSV Mapper: it is used by one or more IngestionCsv feed(s) | `FUNCTIONAL_ERROR` | `deleteCsvMapper` (modules/internal/csvMapper/csvMapper-domain) | `id` |
| Cannot delete this JSON Mapper: it is used by one or more IngestionJson ingester(s) | `FUNCTIONAL_ERROR` | `deleteJsonMapper` (modules/internal/jsonMapper/jsonMapper-domain) | `id` |
| Could not parse CSV mapper: representations is not a valid JSON | `FUNCTIONAL_ERROR` | `parseCsvMapper` (modules/internal/csvMapper/csvMapper-utils) | `error`, `name` |
| Could not parse JSON mapper: representations is not a valid JSON | `FUNCTIONAL_ERROR` | `parseJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `error`, `name` |
| CSV Mapper has no representation | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils) | `mapper_name` |
| CSV mapper representations is not an array of CsvMapperRepresentation objects | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils) | `mapper_name` |
| JSON Mapper has no representation | `FUNCTIONAL_ERROR` | `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `mapper_name` |
| JSON mapper representations is not an array of JsonMapperRepresentation objects | `FUNCTIONAL_ERROR` | `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `mapper_name` |
| Missing entity path mapping | `FUNCTIONAL_ERROR` | `isValidJsonRepresentationType` (modules/internal/jsonMapper/jsonMapper-utils) |  |
| Missing values for required attribute | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils), `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `attribute`, `representation` |
| Reference cycle found | `FUNCTIONAL_ERROR` | `validateCsvMapper` (modules/internal/csvMapper/csvMapper-utils), `validateJsonMapper` (modules/internal/jsonMapper/jsonMapper-utils) | `representation` |
| Unknown entity | `FUNCTIONAL_ERROR` | `isCsvValidRepresentationType` (modules/internal/csvMapper/csvMapper-utils), `isValidJsonRepresentationType` (modules/internal/jsonMapper/jsonMapper-utils) | `type` |
| Unknown relationship | `FUNCTIONAL_ERROR` | `isCsvValidRepresentationType` (modules/internal/csvMapper/csvMapper-utils), `isValidJsonRepresentationType` (modules/internal/jsonMapper/jsonMapper-utils) | `type` |
| Unknown representation type | `FUNCTIONAL_ERROR` | `isCsvValidRepresentationType` (modules/internal/csvMapper/csvMapper-utils), `isValidJsonRepresentationType` (modules/internal/jsonMapper/jsonMapper-utils) | `type` |

## modules/metrics {#modules-metrics}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Several metric per entity is not supported yet | `UNSUPPORTED_ERROR` | `loadEntityMetricsConfiguration` (modules/metrics/metrics-utils) | `metricsEntity` |

## modules/notification {#modules-notification}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Attribute "trigger_events" of a live trigger should have at least one event | `UNSUPPORTED_ERROR` | `addTrigger` (modules/notification/notification-domain), `triggerEdit` (modules/notification/notification-domain) |  |
| Cannot add a activity trigger without recipients | `UNSUPPORTED_ERROR` | `addTriggerActivity` (modules/notification/notification-domain) |  |
| Cannot add a recipient with type {type} | `UNSUPPORTED_ERROR` | `addTrigger` (modules/notification/notification-domain) |  |
| Cannot create {type} trigger for more than one recipient | `UNSUPPORTED_ERROR` | `extractUniqRecipient` (modules/notification/notification-domain) |  |

## modules/notifier {#modules-notifier}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Invalid notifier connector | `UNSUPPORTED_ERROR` | `validateNotifier` (modules/notifier/notifier-domain) | `id` |
| This configuration is invalid | `UNSUPPORTED_ERROR` | `validateNotifier` (modules/notifier/notifier-domain) | `configuration`, `errors` |

## modules/organization {#modules-organization}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Organization not found | `FUNCTIONAL_ERROR` | `organizationAdminAdd` (modules/organization/organization-domain), `organizationAdminRemove` (modules/organization/organization-domain) | `organizationId` |
| User is not part of the organization | `FUNCTIONAL_ERROR` | `organizationAdminAdd` (modules/organization/organization-domain), `organizationAdminRemove` (modules/organization/organization-domain) | `org`, `user` |

## modules/pir {#modules-pir}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Error while updating the PIR, invalid or forbidden key. | `FUNCTIONAL_ERROR` | `updatePir` (modules/pir/pir-domain) | `pirId` |
| Find more than one relation between an entity and a Pir | `FUNCTIONAL_ERROR` | `updatePirExplanations` (modules/pir/pir-utils) | `inPirRels`, `pirId`, `sourceId` |
| No PIR found | `FUNCTIONAL_ERROR` | `getPirWithAccessCheck` (modules/pir/pir-checkPirAccess) | `pirId` |
| No Pir ID provided | `FUNCTIONAL_ERROR` | `getPirWithAccessCheck` (modules/pir/pir-checkPirAccess) |  |
| Relation between the entity and a Pir not found | `FUNCTIONAL_ERROR` | `updatePirExplanations` (modules/pir/pir-utils) | `inPirRels`, `pirId`, `sourceId` |
| Unauthorized Pir access | `FUNCTIONAL_ERROR` | `getPirWithAccessCheck` (modules/pir/pir-checkPirAccess) | `user` |
| You should provide a Pir ID since in-pir relationships can only be fetch for a given PIR. | `FUNCTIONAL_ERROR` | `findPirRelationPaginated` (modules/pir/pir-domain) | `pirId` |
| You should provide exactly a Pir ID since in-pir relationships distribution can only be fetch for a given PIR. | `FUNCTIONAL_ERROR` | `pirRelationshipsDistribution` (modules/pir/pir-domain) | `pirId` |

## modules/playbook {#modules-playbook}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Invalid import type, must be playbook | `FUNCTIONAL_ERROR` | `playbookImport` (modules/playbook/playbook-domain) | `type` |
| Invalid version of the platform. Please upgrade your OpenCTI. Minimal version required: 6.7.14 | `FUNCTIONAL_ERROR` | `playbookImport` (modules/playbook/playbook-domain) | `reason` |
| Old component not found | `UNSUPPORTED_ERROR` | `playbookReplaceNode` (modules/playbook/playbook-domain) |  |
| Playbook base element no longer accessible | `FUNCTIONAL_ERROR` | `extractBundleBaseElement` (modules/playbook/playbook-utils) |  |
| Playbook definition is not valid JSON | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionStringIsValid` (modules/playbook/playbook-domain) |  |
| Playbook entry point cannot be deleted alone: its steps would have no parent | `FUNCTIONAL_ERROR` | `removePlaybookNodeKeepChildren` (modules/playbook/playbook-domain) | `node_id` |
| Playbook entry point cannot have a parent | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain), `playbookAddNode` (modules/playbook/playbook-domain), `playbookMoveNode` (modules/playbook/playbook-domain) | `node_id`, `parentNodeId` |
| Playbook link cannot be deleted: its target node would be left without a parent, delete the node instead | `FUNCTIONAL_ERROR` | `playbookDeleteLink` (modules/playbook/playbook-domain) | `link_id`, `node_id` |
| Playbook link duplication is not possible | `FUNCTIONAL_ERROR` | `playbookRelink` (modules/playbook/playbook-domain) | `link_id` |
| Playbook link duplication is not possible | `UNSUPPORTED_ERROR` | `playbookAddLink` (modules/playbook/playbook-domain) |  |
| Playbook link invalid from configuration | `UNSUPPORTED_ERROR` | `playbookAddLink` (modules/playbook/playbook-domain) |  |
| Playbook link must connect existing nodes | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain) | `link_id` |
| Playbook link must leave an out port of its source node | `FUNCTIONAL_ERROR` | `assertOutPort` (modules/playbook/playbook-domain), `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain) | `link_id`, `node_id`, `port` |
| Playbook link node from not found | `UNSUPPORTED_ERROR` | `playbookAddLink` (modules/playbook/playbook-domain) | `id` |
| Playbook link not found | `FUNCTIONAL_ERROR` | `playbookRelink` (modules/playbook/playbook-domain) | `link_id` |
| Playbook link source component not found | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain) | `component_id`, `link_id` |
| Playbook links cannot form a cycle | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsAcyclicAndReachable` (modules/playbook/playbook-domain), `playbookMoveNode` (modules/playbook/playbook-domain), `playbookRelink` (modules/playbook/playbook-domain) | `node_id` |
| Playbook multiple entrypoint is not supported | `UNSUPPORTED_ERROR` | `playbookAddNode` (modules/playbook/playbook-domain), `playbookInsertNode` (modules/playbook/playbook-domain), `playbookReplaceNode` (modules/playbook/playbook-domain) | `input` |
| Playbook must have a single entry point: every other node needs a parent | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain) | `root_ids` |
| Playbook node configuration is not valid JSON | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionStringIsValid` (modules/playbook/playbook-domain), `assertNodeConfigurationIsComplete` (modules/playbook/playbook-utils) | `component_id`, `node_id` |
| Playbook node configuration misses required fields | `FUNCTIONAL_ERROR` | `assertNodeConfigurationIsComplete` (modules/playbook/playbook-utils) | `component_id`, `missing` |
| Playbook node filters are not valid JSON | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionStringIsValid` (modules/playbook/playbook-domain) | `component_id`, `field`, `node_id` |
| Playbook node needs a parent: only the entry point has none, give parentNodeId and parentPortId | `FUNCTIONAL_ERROR` | `playbookAddNode` (modules/playbook/playbook-domain) | `component_id` |
| Playbook node not found | `FUNCTIONAL_ERROR` | `assertOutPort` (modules/playbook/playbook-domain), `playbookMoveNode` (modules/playbook/playbook-domain), `playbookRelink` (modules/playbook/playbook-domain) and 1 more | `node_id` |
| Playbook node parent needs both parentNodeId and parentPortId | `FUNCTIONAL_ERROR` | `playbookAddNode` (modules/playbook/playbook-domain) | `parentNodeId`, `parentPortId` |
| Playbook nodes must stay reachable from the entry point | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsAcyclicAndReachable` (modules/playbook/playbook-domain) | `node_ids` |
| Playbook related component not found | `UNSUPPORTED_ERROR` | `playbookAddNode` (modules/playbook/playbook-domain), `playbookInsertNode` (modules/playbook/playbook-domain), `playbookReplaceNode` (modules/playbook/playbook-domain) | `id`, `input` |
| Playbook relink needs both fromNodeId and fromPortId to change the source | `FUNCTIONAL_ERROR` | `playbookRelink` (modules/playbook/playbook-domain) | `fromNodeId`, `fromPortId` |
| Playbook root must be an entry point component | `FUNCTIONAL_ERROR` | `assertPlaybookDefinitionIsValid` (modules/playbook/playbook-domain) | `component_id`, `node_id` |
| The "run as" user must be yourself or a service account | `FORBIDDEN_ACCESS` | `assertRunAsUserAllowed` (modules/playbook/components/ai-agent-shared) | `runAsUserId` |
| this container type is incompatible with the Container Wrapper playbook component | `FUNCTIONAL_ERROR` | `executor` (modules/playbook/components/container-wrapper-component) | `container_type` |

## modules/publicDashboard {#modules-publicdashboard}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A start date is required for a time series breakdown | `FUNCTIONAL_ERROR` | `buildPublicBreakdownArgs` (modules/publicDashboard/publicDashboard-breakdown) |  |
| Cannot find dashboard | `FUNCTIONAL_ERROR` | `addPublicDashboard` (modules/publicDashboard/publicDashboard-domain) | `id` |
| Cannot publish an empty dashboard | `FUNCTIONAL_ERROR` | `addPublicDashboard` (modules/publicDashboard/publicDashboard-domain) | `id` |
| Cannot publish this dashboard, some widgets use dashboard variables without value | `FUNCTIONAL_ERROR` | `createPrivateManifest` (modules/publicDashboard/publicDashboard-domain) | `variableIds` |
| Cannot publish this dashboard, uri key {uriKey} already used. | `FUNCTIONAL_ERROR` | `addPublicDashboard` (modules/publicDashboard/publicDashboard-domain) |  |
| Dashboard not enabled | `UNSUPPORTED_ERROR` | `getWidgetArguments` (modules/publicDashboard/publicDashboard-utils) | `uriKey` |
| Dashboard not found | `UNSUPPORTED_ERROR` | `getWidgetArguments` (modules/publicDashboard/publicDashboard-utils) | `uriKey` |
| Duplicated dashboard variable value | `FUNCTIONAL_ERROR` | `buildPublicationVariableValues` (modules/publicDashboard/publicDashboard-publication) | `variableId` |
| Invalid dashboard variable value | `FUNCTIONAL_ERROR` | `buildPublicationVariableValues` (modules/publicDashboard/publicDashboard-publication) | `variableId` |
| Invalid public dashboard time zone | `FUNCTIONAL_ERROR` | `toPublicationTimeZone` (modules/publicDashboard/publicDashboard-publication) | `timeZone` |
| No public dashboard found | `FUNCTIONAL_ERROR` | `checkUserIsAdminOnDashboard` (modules/publicDashboard/publicDashboard-utils) | `id` |
| Not allowed markings | `UNSUPPORTED_ERROR` | `addPublicDashboard` (modules/publicDashboard/publicDashboard-domain) |  |
| This widget cannot be broken down | `FUNCTIONAL_ERROR` | `buildPublicBreakdownArgs` (modules/publicDashboard/publicDashboard-breakdown) | `datasetsCount`, `type`, `widgetId` |
| This widget has no breakdown | `UNSUPPORTED_ERROR` | `buildPublicBreakdownArgs` (modules/publicDashboard/publicDashboard-breakdown) | `widgetId` |
| This widget is broken down on another perspective | `FUNCTIONAL_ERROR` | `buildPublicBreakdownArgs` (modules/publicDashboard/publicDashboard-breakdown) | `perspective`, `widgetId` |
| User not found | `UNSUPPORTED_ERROR` | `getWidgetArguments` (modules/publicDashboard/publicDashboard-utils) | `user_id` |

## modules/requestAccess {#modules-requestaccess}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A request access is limited to 500 requested entities | `FUNCTIONAL_ERROR` | `assertRequestAccessInputSize` (modules/requestAccess/requestAccess-domain) | `entitiesCount` |
| Element not found for Access Request | `VALIDATION_ERROR` | `addRequestAccess` (modules/requestAccess/requestAccess-domain) | `field: request_access_members` |
| Organization not found for Access Request | `VALIDATION_ERROR` | `addRequestAccess` (modules/requestAccess/requestAccess-domain) | `field: request_access_entities` |
| Request access cannot be created because no approval admin is configured. | `FUNCTIONAL_ERROR` | `computeAuthorizedMembersForRequestAccess` (modules/requestAccess/requestAccess-domain) |  |
| Request access feature is missing configuration: {message} | `FUNCTIONAL_ERROR` | `checkRequestAccessEnabled` (modules/requestAccess/requestAccess-domain) | `doc_code: REQUEST_ACCESS_CONFIGURATION`, `message` |
| Request access is not available in draft mode | `VALIDATION_ERROR` | `checkRequestAccessEnabled` (modules/requestAccess/requestAccess-domain) |  |
| The initial state of the request access workflow has no status | `FUNCTIONAL_ERROR` | `findInitialWorkflowStatusId` (modules/requestAccess/requestAccess-domain) | `initialStateId` |
| The reason and the requested entities of this request access are too long, shorten the reason or request fewer entities | `FUNCTIONAL_ERROR` | `addRequestAccess` (modules/requestAccess/requestAccess-domain) | `length` |
| The reason of a request access is limited to 10000 characters | `FUNCTIONAL_ERROR` | `assertRequestAccessInputSize` (modules/requestAccess/requestAccess-domain) | `reasonLength` |
| This entity is restricted with authorized member and cannot be requested for sharing. | `FUNCTIONAL_ERROR` | `computeAuthorizedMembersForRequestAccess` (modules/requestAccess/requestAccess-domain) | `id` |
| This RFI is not correctly configured | `UNSUPPORTED_ERROR` | `checkRequestActionAndGetWorkflow` (modules/requestAccess/requestAccess-domain) | `id` |

## modules/retentionRules {#modules-retentionrules}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Retention rule must have valid filters | `UNSUPPORTED_ERROR` | `createRetentionRule` (modules/retentionRules/retentionRules-domain) |  |

## modules/savedFilter {#modules-savedfilter}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Dashboard variables cannot be used in a saved filter | `FUNCTIONAL_ERROR` | `assertNoDashboardVariable` (modules/savedFilter/savedFilter-domain) |  |
| No input given for field patch | `FUNCTIONAL_ERROR` | `fieldPatchSavedFilter` (modules/savedFilter/savedFilter-domain) | `input` |
| Saved filter cannot be found | `FUNCTIONAL_ERROR` | `fieldPatchSavedFilter` (modules/savedFilter/savedFilter-domain) | `id` |
| You do not have the permission to delete this saved filter | `FORBIDDEN_ACCESS` | `deleteSavedFilter` (modules/savedFilter/savedFilter-domain) |  |
| You do not have the permission to update this saved filter | `FORBIDDEN_ACCESS` | `fieldPatchSavedFilter` (modules/savedFilter/savedFilter-domain) |  |

## modules/securityCoverage {#modules-securitycoverage}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot create has-covered relationships without any entity selection, please provide ids, filters or a search term. | `FUNCTIONAL_ERROR` | `createHasCoveredRelTask` (modules/securityCoverage/securityCoverageResult/securityCoverageResult-domain) | `securityCoverageResultId` |
| Cannot find SecurityCoverageResult for this has-covered relationship | `FUNCTIONAL_ERROR` | `transformHasCoveredFromId` (modules/securityCoverage/securityCoverage-utils) |  |
| Security coverage not found | `FUNCTIONAL_ERROR` | `addSecurityCoverageResult` (modules/securityCoverage/securityCoverageResult/securityCoverageResult-domain) | `securityCoverageResultInput` |
| Security coverage result not found | `FUNCTIONAL_ERROR` | `editSecurityCoverageResult` (modules/securityCoverage/securityCoverageResult/securityCoverageResult-domain) | `id` |

## modules/settings {#modules-settings}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cant find the platform settings | `FUNCTIONAL_ERROR` | `editSettingsAttribute` (modules/settings/settings-attributes) | `id` |
| Settings attribute not registered by a module | `UNSUPPORTED_ERROR` | `checkModuleSettingsAttribute` (modules/settings/settings-attributes) | `name` |

## modules/smtpConfiguration {#modules-smtpconfiguration}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| oauth_client_id, oauth_client_secret and oauth_issuer are required for OAuth2 authentication | `FUNCTIONAL_ERROR` | `validateSmtpConfigurationInput` (modules/smtpConfiguration/smtpConfiguration-domain) |  |
| Port 25 is not allowed for SMTP configuration | `FUNCTIONAL_ERROR` | `validateSmtpConfigurationInput` (modules/smtpConfiguration/smtpConfiguration-domain) |  |
| SMTP configuration is enforced by the backend configuration | `FORBIDDEN_ACCESS` | `smtpConfigurationDelete` (modules/smtpConfiguration/smtpConfiguration-domain), `smtpConfigurationEdit` (modules/smtpConfiguration/smtpConfiguration-domain) |  |
| username and password are required for basic authentication | `FUNCTIONAL_ERROR` | `validateSmtpConfigurationInput` (modules/smtpConfiguration/smtpConfiguration-domain) |  |

## modules/theme {#modules-theme}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Invalid theme file | `FUNCTIONAL_ERROR` | `importError` (modules/theme/theme-import) | `reason` |
| System default themes cannot be deleted | `FUNCTIONAL_ERROR` | `deleteTheme` (modules/theme/theme-domain) | `themeId` |
| System default themes cannot be updated | `FUNCTIONAL_ERROR` | `fieldPatchTheme` (modules/theme/theme-domain) | `themeId` |
| Theme cannot be found | `FUNCTIONAL_ERROR` | `deleteTheme` (modules/theme/theme-domain), `fieldPatchTheme` (modules/theme/theme-domain) | `themeId` |
| Theme name already exists | `FUNCTIONAL_ERROR` | `addTheme` (modules/theme/theme-domain), `fieldPatchTheme` (modules/theme/theme-domain), `importError` (modules/theme/theme-import) | `name` |

## modules/user {#modules-user}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| \[ACCESS\] USER MARKING INACCESSIBLE | `UNSUPPORTED_ERROR` | `computeAvailableMarkings` (modules/user/user-domain) | `error` |
| \[SSO\] Can't login. The user has groups that don't exist and auto_create_group = false. | `FORBIDDEN_ACCESS` | `loginFromProvider` (modules/user/user-domain) |  |
| \[SSO\] Can't login. The user has organizations that don't exist and auto_create_organization = false. | `FORBIDDEN_ACCESS` | `loginFromProvider` (modules/user/user-domain) |  |
| Bookmarks widgets only support filter with key=entity_type. | `UNSUPPORTED_ERROR` | `bookmarks` (modules/user/user-domain) |  |
| Can not move to a draft that is not in an open state | `DRAFT_LOCKED` | `userEditField` (modules/user/user-domain) |  |
| Cannot add the relation, Role cannot be found. | `FUNCTIONAL_ERROR` | `roleAddRelation` (modules/user/user-domain) | `id` |
| Cannot add the relation, User cannot be found. | `FUNCTIONAL_ERROR` | `assignGroupToUser` (modules/user/user-domain) | `userId` |
| Cannot delete the relation, Role cannot be found. | `FUNCTIONAL_ERROR` | `roleDeleteRelation` (modules/user/user-domain) | `id` |
| Cannot force password change for external user | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| Cannot identify user with basic auth | `FUNCTIONAL_ERROR` | `authenticateUserByBasicAuth` (modules/user/user-domain) |  |
| Cannot identify user with email | `AUTH_FAILURE` | `authenticateUserByEmail` (modules/user/user-domain) | `email` |
| Cannot identify user with id | `FUNCTIONAL_ERROR` | `authenticateUserByUserId` (modules/user/user-domain) |  |
| Cannot identify user with not comparable token | `FUNCTIONAL_ERROR` | `authenticateUserByToken` (modules/user/user-domain) |  |
| Cannot identify user with token | `FUNCTIONAL_ERROR` | `authenticateUserByToken` (modules/user/user-domain) |  |
| Cannot update password for non-local user | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| Cannot update password for Service account | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| Cant impersonate applicant {applicantId} | `FUNCTIONAL_ERROR` | `internalAuthenticateUser` (modules/user/user-domain) |  |
| Cant use synchronized-upsert header without bypass capability | `FUNCTIONAL_ERROR` | `internalAuthenticateUser` (modules/user/user-domain) |  |
| Email cannot be updated for external user | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| Invalid email template | `UNSUPPORTED_ERROR` | `sendEmailToUser` (modules/user/user-domain) | `id` |
| Invalid password: {errors} | `FUNCTIONAL_ERROR` | `checkPasswordFromPolicy` (modules/user/user-domain) |  |
| JWT email does not match any user | `AUTH_FAILURE` | `authenticateUserByEmail` (modules/user/user-domain) | `email` |
| JWT missing sub claim | `AUTH_FAILURE` | `authenticateUserByJWT` (modules/user/user-domain) |  |
| Name cannot be updated for external user | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| Only internal-relationship can be deleted through this method, got {relationshipType}. | `FUNCTIONAL_ERROR` | `roleDeleteRelation` (modules/user/user-domain), `userIdDeleteRelation` (modules/user/user-domain) |  |
| Only internal-relationship can be deleted through this method. | `FUNCTIONAL_ERROR` | `userDeleteRelation` (modules/user/user-domain) |  |
| Target user not found | `UNSUPPORTED_ERROR` | `sendEmailToUser` (modules/user/user-domain) | `id` |
| The confidence_level should be an integer between 0 and 100 | `VALIDATION_ERROR` | `createOnTheFlyUser` (modules/user/user-domain) | `field: confidence_level` |
| The current password you have provided is not valid | `FUNCTIONAL_ERROR` | `meEditField` (modules/user/user-domain) |  |
| The email you have provided is not valid | `FUNCTIONAL_ERROR` | `addUser` (modules/user/user-domain), `validateAndNormalizeEmailInput` (modules/user/user-domain) |  |
| The language you have provided is not valid | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) |  |
| The password must be changed on its own | `FUNCTIONAL_ERROR` | `userEditField` (modules/user/user-domain) | `userId` |
| This password has already been used recently. Please choose a different one. | `PASSWORD_REUSED` | `checkPasswordNotReused` (modules/user/user-password-history) |  |
| This service account already exists. Change the instance name to change the automatically created service account name | `FUNCTIONAL_ERROR` | `createOnTheFlyUser` (modules/user/user-domain) | `name` |
| This user already exists. Change the feed's name to change the automatically created user's name | `FUNCTIONAL_ERROR` | `createOnTheFlyUser` (modules/user/user-domain) | `name` |
| This user was merged into another account and cannot be deleted through the ordinary path | `FUNCTIONAL_ERROR` | `userDelete` (modules/user/user-domain) | `mergedInto`, `userId` |
| Token expired | `FUNCTIONAL_ERROR` | `authenticateUserByToken` (modules/user/user-domain) |  |
| Token not found | `FUNCTIONAL_ERROR` | `revokeToken` (modules/user/user-domain) | `tokenId` |
| Too many password change attempts. Please try again in a few minutes. | `PASSWORD_CHANGE_THROTTLED` | `consumePasswordChangeAttempt` (modules/user/user-password-history) |  |
| Trusted issuer JWT missing email claim | `AUTH_FAILURE` | `authenticateUserByJWT` (modules/user/user-domain) |  |
| Unable to generate a password matching the password policy: {errors} | `FUNCTIONAL_ERROR` | `generatePasswordMatchingPolicy` (modules/user/user-domain) |  |
| Unable to generate a password: password policy cannot be satisfied | `FUNCTIONAL_ERROR` | `generatePasswordFromPolicy` (modules/user/user-domain) | `maxLength`, `minLength` |
| Unsupported unit system | `UNSUPPORTED_ERROR` | `userEditField` (modules/user/user-domain) | `unit` |
| User already exists | `FUNCTIONAL_ERROR` | `addUser` (modules/user/user-domain), `validateAndNormalizeEmailInput` (modules/user/user-domain) | `user_id` |
| User cannot be created without email | `FUNCTIONAL_ERROR` | `addUser` (modules/user/user-domain) |  |
| User cannot be found. | `FUNCTIONAL_ERROR` | `loadUserToUpdateWithAccessCheck` (modules/user/user-domain) | `userId` |
| User email not provided | `FORBIDDEN_ACCESS` | `loginFromProvider` (modules/user/user-domain) |  |
| User not found | `FUNCTIONAL_ERROR` | `addUserTokenByAdmin` (modules/user/user-domain), `revokeUserTokenByAdmin` (modules/user/user-domain) | `targetUserId`, `userId` |
| You are not allowed to share these markings | `FORBIDDEN_ACCESS` | `checkUserCanShareMarkings` (modules/user/user-domain) | `markings` |
| You are not allowed to use API Access Tokens | `FORBIDDEN_ACCESS` | `authenticateUserByToken` (modules/user/user-domain) |  |
| You are not allowed to use API basic auth | `FORBIDDEN_ACCESS` | `authenticateUserByBasicAuth` (modules/user/user-domain) |  |
| You can't login without an organization | `AUTH_FAILURE` | `validateUser` (modules/user/user-domain) |  |
| You have not defined a default group for ingestion users | `FUNCTIONAL_ERROR` | `createOnTheFlyUser` (modules/user/user-domain) |  |
| You must change your password before continuing. | `PASSWORD_CHANGE_REQUIRED` | `sessionLogin` (modules/user/user-domain), `validateUser` (modules/user/user-domain) |  |
| You need to deactivate your current 2FA before generating a new one | `UNSUPPORTED_ERROR` | `otpUserActivation` (modules/user/user-domain) |  |
| You need to deactivate your current 2FA in a valid user session | `UNSUPPORTED_ERROR` | `otpUserDeactivation` (modules/user/user-domain) |  |
| Your IP address is not allowed to access this platform | `AUTH_FAILURE` | `checkIpWhitelistOnLogin` (modules/user/user-domain) | `ip_not_allowed` |

## modules/userMerge {#modules-usermerge}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cannot merge a user into itself | `FUNCTIONAL_ERROR` | `assertValidUserMergeIds` (modules/userMerge/userMerge-domain) | `sourceId`, `targetId` |
| Cannot merge an internal platform user | `FUNCTIONAL_ERROR` | `assertValidUserMergeIds` (modules/userMerge/userMerge-domain) | `sourceId`, `targetId` |
| Cannot resolve the rights of the users to merge | `UNSUPPORTED_ERROR` | `readRightsProjection` (modules/userMerge/userMerge-engine) | `missing`, `source_id`, `target_id` |
| Merge blocked by unacknowledged alerts, nothing was written | `UNSUPPORTED_ERROR` | `assertBlockingAlertsAcknowledged` (modules/userMerge/userMerge-engine) | `alerts` |
| Merge handler writes user identity fields, which a merge never rewrites | `UNSUPPORTED_ERROR` | `assertNoProfileWrite` (modules/userMerge/userMerge-registry) | `fields`, `handler` |
| Merge handlers are not read/write disjoint | `UNSUPPORTED_ERROR` | `assertHandlersAreDisjoint` (modules/userMerge/userMerge-registry) | `fields`, `reader`, `writer` |
| Merging users requires the BYPASS capability | `FORBIDDEN_ACCESS` | `assertUserMergeAllowed` (modules/userMerge/userMerge-domain) | `user_id` |
| Source account cannot be deleted yet | `FUNCTIONAL_ERROR` | `deleteUserMergeSource` (modules/userMerge/userMerge-sourceDeletion) | `blockers`, `sourceId`, `targetId` |
| Source and target users are required to merge | `FUNCTIONAL_ERROR` | `assertValidUserMergeIds` (modules/userMerge/userMerge-domain) | `sourceId`, `targetId` |
| The source user has ingestion deduplication rules: enable the INGESTION_DEDUPLICATION feature to merge them | `UNSUPPORTED_ERROR` | `compute` (modules/userMerge/userMerge-ingestionDeduplicationHandler) | `rule_count` |
| Unknown {role} user | `FUNCTIONAL_ERROR` | `loadMergeableUser` (modules/userMerge/userMerge-domain) | `user_id` |
| User reference attribute is declared with conflicting cardinalities | `UNSUPPORTED_ERROR` | `discoverUserIdAttributes` (modules/userMerge/userMerge-scalarDiscovery) | `attribute`, `declarations` |
| User reference held in an object array cannot be rewritten by the user merge | `UNSUPPORTED_ERROR` | `shapeFor` (modules/userMerge/userMerge-scalarTargets) | `array`, `attribute` |

## modules/vocabulary {#modules-vocabulary}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Cant find category for vocabulary {name} | `UNSUPPORTED_ERROR` | `getVocabularyUsages` (modules/vocabulary/vocabulary-domain) |  |
| This vocabulary category is closed, new values cannot be added | `FUNCTIONAL_ERROR` | `checkVocabularyNameAllowed` (modules/vocabulary/vocabulary-domain) | `category`, `name` |
| You can't have multiple category on the same field for the same entity type | `UNSUPPORTED_ERROR` | `getVocabularyCategoryForField` (modules/vocabulary/vocabulary-utils) | `entityType`, `fieldName` |

## modules/workflow {#modules-workflow}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A request access can only be created through the request access form | `FUNCTIONAL_ERROR` | `assertExternalRequestAccessCreateAllowed` (modules/workflow/domain/workflow-domain), `assertExternalStatusWriteAllowed` (modules/workflow/domain/workflow-domain) | `id` |
| Action type '{type}' is not allowed in asyncActions (must support 'async' mode) in transition {event} | `VALIDATION_ERROR` | `validateWorkflowDefinitionData` (modules/workflow/workflow-validation) |  |
| Action type '{type}' is not allowed in syncActions (must support 'sync' mode) in transition {event} | `VALIDATION_ERROR` | `validateWorkflowDefinitionData` (modules/workflow/workflow-validation) |  |
| all_versions must be an array | `FUNCTIONAL_ERROR` | `validateVersionConsistency` (modules/workflow/domain/workflow-domain) |  |
| Approved and Declined can only be reached or left through the workflow | `FUNCTIONAL_ERROR` | `assertExternalStatusCreateAllowed` (modules/workflow/domain/workflow-domain), `assertExternalStatusWriteAllowed` (modules/workflow/domain/workflow-domain) | `id`, `statusId` |
| BYPASS permission is required | `FUNCTIONAL_ERROR` | `loadWorkflowBypass` (modules/workflow/domain/workflow-domain), `setWorkflowStatus` (modules/workflow/domain/workflow-domain) |  |
| Cannot migrate request access: {problem} | `FUNCTIONAL_ERROR` | `convertRequestAccessGroup` (modules/workflow/migration/status-to-definition-converter) | `approvedTemplateId`, `declinedTemplateId`, `initialState` |
| Cannot migrate: some statuses reference a status template that no longer exists | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `diagnostics`, `entityType` |
| Cannot publish a migrated workflow while the ENTITIES_WORKFLOW feature is disabled; migrate without publishing | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `entityType` |
| Cannot publish migrated workflow: resolve the blocking diagnostics first, or migrate without publishing | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `diagnostics`, `entityType` |
| Cannot publish migrated workflow: the migrated definition is invalid | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `entityType`, `errors` |
| Cannot publish workflow with validation errors | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType`, `errorCount`, `errors` |
| Cannot publish workflow: the following statuses are in use and cannot be removed. Move all items out of those statuses first. | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType`, `removedStates` |
| Cannot publish workflow: the following statuses are still assigned to entities and cannot be removed. | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType`, `removedStatus` |
| Consistency error: Cannot publish draft_version that is not in all_versions | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `draftVersionId` |
| Consistency error: draft_version not found in all_versions | `FUNCTIONAL_ERROR` | `validateVersionConsistency` (modules/workflow/domain/workflow-domain) | `draftVersionId` |
| Consistency error: published_version not found in all_versions | `FUNCTIONAL_ERROR` | `validateVersionConsistency` (modules/workflow/domain/workflow-domain) | `publishedVersionId` |
| DraftWorkspace statuses cannot be migrated: its workflow must contain a validateDraft action | `FUNCTIONAL_ERROR` | `assertMigratableEntityType` (modules/workflow/domain/workflow-domain) | `entityType` |
| Entity not found | `FUNCTIONAL_ERROR` | `clearWorkflowPendingState` (modules/workflow/domain/workflow-domain), `loadWorkflowBypass` (modules/workflow/domain/workflow-domain), `setWorkflowStatus` (modules/workflow/domain/workflow-domain) and 1 more | `entityId` |
| Entity setting not found for type | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain), `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain), `restorePublishedWorkflowUnderLock` (modules/workflow/domain/workflow-domain) and 1 more | `entityType` |
| Entity type already has a published workflow; migration only replaces a workflow that was never published | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `entityType`, `scope` |
| Entity type already has a workflow, migration would overwrite it (pass overwrite: true to replace it) | `FUNCTIONAL_ERROR` | `migrateWorkflowFromStatuses` (modules/workflow/domain/workflow-domain) | `entityType`, `scope` |
| Invalid params for action '{type}' in {source} | `VALIDATION_ERROR` | `validateAction` (modules/workflow/workflow-validation) | `errors` |
| Invalid workflow async action status | `FUNCTIONAL_ERROR` | `reportWorkflowAsyncActionResult` (modules/workflow/domain/workflow-async-completion) | `status` |
| Invalid workflow definition JSON | `FUNCTIONAL_ERROR` | `saveWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) |  |
| No draft version to publish | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType` |
| No legacy statuses to migrate | `FUNCTIONAL_ERROR` | `pickMigrationScope` (modules/workflow/migration/status-to-definition-converter) | `entityType`, `scope` |
| No published version to restore | `FUNCTIONAL_ERROR` | `restorePublishedWorkflowUnderLock` (modules/workflow/domain/workflow-domain) | `entityType` |
| No transition to {outcome} is allowed from the current state | `FUNCTIONAL_ERROR` | `fireRequestAccessOutcomeTransition` (modules/workflow/domain/workflow-request-access) | `id` |
| No workflow definition found | `FUNCTIONAL_ERROR` | `restorePublishedWorkflowUnderLock` (modules/workflow/domain/workflow-domain) | `entityType` |
| No workflow definition to publish | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType` |
| No workflow instance found for entity | `FUNCTIONAL_ERROR` | `clearWorkflowPendingState` (modules/workflow/domain/workflow-domain) | `entityId` |
| Nothing to share: no requested entity or no organization resolved | `UNSUPPORTED_ERROR` | `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `id` |
| Request access can only be changed through the workflow | `FUNCTIONAL_ERROR` | `assertExternalRequestAccessWriteAllowed` (modules/workflow/domain/workflow-domain) | `id` |
| Request access must be a JSON object of at most 100000 characters | `FUNCTIONAL_ERROR` | `assertExternalRequestAccessCreateAllowed` (modules/workflow/domain/workflow-domain), `assertExternalRequestAccessWriteAllowed` (modules/workflow/domain/workflow-domain) | `id` |
| Request access RFI not found | `UNSUPPORTED_ERROR` | `applyRequestAccessOutcome` (modules/workflow/domain/workflow-request-access), `mirrorRequestAccessStatus` (modules/workflow/domain/workflow-request-access) | `id` |
| RequestAccess workflow bypass is not supported | `FUNCTIONAL_ERROR` | `loadWorkflowBypass` (modules/workflow/domain/workflow-domain) |  |
| Requested entity not found | `UNSUPPORTED_ERROR` | `applyRequestAccessOutcome` (modules/workflow/domain/workflow-request-access) | `requestedEntityId` |
| shareRequestedEntities is only available on request access RFIs | `UNSUPPORTED_ERROR` | `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `id` |
| shareRequestedEntities requires the user who decided the request | `UNSUPPORTED_ERROR` | `shareRequestedEntities` (modules/workflow/registry/workflow-actions) | `id` |
| Side effect (action) type '{type}' doesn't exist | `VALIDATION_ERROR` | `validateAction` (modules/workflow/workflow-validation), `validateWorkflowDefinitionData` (modules/workflow/workflow-validation) |  |
| The background share of the requested entities failed: retry it before deciding the request | `FUNCTIONAL_ERROR` | `assertNoFailedRequestAccessShare` (modules/workflow/domain/workflow-domain) | `event` |
| The container share tasks of the request access could not all be deleted: the pending state is kept | `FUNCTIONAL_ERROR` | `clearWorkflowPendingState` (modules/workflow/domain/workflow-domain) | `taskIds` |
| The Global and Request access workflows must have different names | `FUNCTIONAL_ERROR` | `saveWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain) | `entityType`, `name`, `scope` |
| The organizations shared directly by the request access could not all be revoked: the pending state is kept | `FUNCTIONAL_ERROR` | `clearWorkflowPendingState` (modules/workflow/domain/workflow-domain) | `entityIds` |
| This request access is not decided on a request access workflow | `FUNCTIONAL_ERROR` | `fireRequestAccessOutcomeTransition` (modules/workflow/domain/workflow-request-access) | `id` |
| This transition requires a comment | `FUNCTIONAL_ERROR` | `fireRequestAccessOutcomeTransition` (modules/workflow/domain/workflow-request-access) | `id` |
| Workflow definition not found | `FUNCTIONAL_ERROR` | `publishWorkflowDraftUnderLock` (modules/workflow/domain/workflow-domain), `restorePublishedWorkflowUnderLock` (modules/workflow/domain/workflow-domain) | `workflowId` |
| Workflow scope is not available for this entity type | `FUNCTIONAL_ERROR` | `assertScopeAllowed` (modules/workflow/domain/workflow-domain) | `entityType`, `scope` |
| Workflow scope is not available while the ENTITIES_WORKFLOW feature is disabled | `FUNCTIONAL_ERROR` | `assertScopeAllowed` (modules/workflow/domain/workflow-domain) | `entityType`, `scope` |
| Workflow transitions cannot be applied to an entity while in a draft | `FUNCTIONAL_ERROR` | `assertEntityWorkflowNotInDraft` (modules/workflow/domain/workflow-domain) | `entityId` |

## modules/workspace {#modules-workspace}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A boolean variable default value must be true or false | `FUNCTIONAL_ERROR` | `buildDefaultValue` (modules/workspace/workspace-variables-validation) |  |
| A dashboard cannot hold more than 50 presets | `FUNCTIONAL_ERROR` | `buildDashboardPreset` (modules/workspace/workspace-presets-validation) |  |
| A dashboard cannot hold more than 50 variables | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) |  |
| A dashboard preset with this name already exists | `FUNCTIONAL_ERROR` | `buildDashboardPreset` (modules/workspace/workspace-presets-validation) | `name` |
| A dashboard variable with this name already exists | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) | `name` |
| A date variable default value must be a valid date | `FUNCTIONAL_ERROR` | `buildDefaultValue` (modules/workspace/workspace-variables-validation) |  |
| A filters restriction is only allowed on entity variables | `FUNCTIONAL_ERROR` | `buildRestriction` (modules/workspace/workspace-variables-validation) |  |
| A kill chain name is only allowed on kill chain phase variables | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| A kill chain phase variable requires a kill chain name | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| A numeric variable default value must be a number | `FUNCTIONAL_ERROR` | `buildDefaultValue` (modules/workspace/workspace-variables-validation) |  |
| A selection restriction cannot hold more than 200 values | `FUNCTIONAL_ERROR` | `buildRestriction` (modules/workspace/workspace-variables-validation) |  |
| A selection restriction requires at least one value | `FUNCTIONAL_ERROR` | `buildRestriction` (modules/workspace/workspace-variables-validation) |  |
| A variable restriction cannot reference another variable | `FUNCTIONAL_ERROR` | `parseRestrictionFilters` (modules/workspace/workspace-variables-validation) |  |
| A variable value cannot reference another variable | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) |  |
| A vocabulary category is only allowed on vocabulary variables | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| A vocabulary variable requires a vocabulary category | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| A widget using dashboard variables cannot be used in a custom view: {refusedWidgets} | `FUNCTIONAL_ERROR` | `sanitizeCustomViewManifest` (modules/workspace/workspace-variables-utils) | `widgets` |
| An entity variable requires at least one entity type | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| Dashboard preset name is required | `FUNCTIONAL_ERROR` | `buildDashboardPreset` (modules/workspace/workspace-presets-validation) |  |
| Dashboard preset name is too long | `FUNCTIONAL_ERROR` | `buildDashboardPreset` (modules/workspace/workspace-presets-validation) |  |
| Dashboard preset not found | `FUNCTIONAL_ERROR` | `workspacePresetDelete` (modules/workspace/workspace-presets-domain) | `presetId` |
| Dashboard variable default value is required | `FUNCTIONAL_ERROR` | `buildDefaultValue` (modules/workspace/workspace-variables-validation) |  |
| Dashboard variable name is required | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) |  |
| Dashboard variable name is too long | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) |  |
| Dashboard variable not found | `FUNCTIONAL_ERROR` | `workspaceVariableDelete` (modules/workspace/workspace-variables-domain) | `variableId` |
| Duplicated dashboard preset id | `FUNCTIONAL_ERROR` | `validateManifestVariables` (modules/workspace/workspace-variables-utils) | `presetId` |
| Duplicated dashboard preset value | `FUNCTIONAL_ERROR` | `buildPresetValues` (modules/workspace/workspace-presets-validation) | `variableId` |
| Duplicated dashboard variable id | `FUNCTIONAL_ERROR` | `validateManifestVariables` (modules/workspace/workspace-variables-utils) | `variableId` |
| Entity types are only allowed on entity variables | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) |  |
| Invalid dashboard manifest | `FUNCTIONAL_ERROR` | `preserveServerOwnedManifestKeys` (modules/workspace/workspace-variables-utils) |  |
| Invalid dashboard preset | `FUNCTIONAL_ERROR` | `toPresetInput` (modules/workspace/workspace-variables-utils) | `presetId` |
| Invalid dashboard preset id | `FUNCTIONAL_ERROR` | `buildDashboardPreset` (modules/workspace/workspace-presets-validation) | `presetId` |
| Invalid dashboard preset time range | `FUNCTIONAL_ERROR` | `toPresetInput` (modules/workspace/workspace-variables-utils) | `presetId` |
| Invalid dashboard preset value | `FUNCTIONAL_ERROR` | `buildPresetValues` (modules/workspace/workspace-presets-validation) | `variableId` |
| Invalid dashboard preset values | `FUNCTIONAL_ERROR` | `toPresetInput` (modules/workspace/workspace-variables-utils) | `presetId` |
| Invalid dashboard presets | `FUNCTIONAL_ERROR` | `validateManifestVariables` (modules/workspace/workspace-variables-utils) |  |
| Invalid dashboard variable | `FUNCTIONAL_ERROR` | `toVariableInput` (modules/workspace/workspace-variables-utils) | `variableId` |
| Invalid dashboard variable id | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) | `variableId` |
| Invalid dashboard variable restriction | `FUNCTIONAL_ERROR` | `toVariableInput` (modules/workspace/workspace-variables-utils) | `variableId` |
| Invalid dashboard variable type | `FUNCTIONAL_ERROR` | `toVariableInput` (modules/workspace/workspace-variables-utils) | `type` |
| Invalid dashboard variable vocabulary category | `FUNCTIONAL_ERROR` | `toVariableInput` (modules/workspace/workspace-variables-utils) | `vocabularyCategory` |
| Invalid dashboard variables | `FUNCTIONAL_ERROR` | `validateManifestVariables` (modules/workspace/workspace-variables-utils) |  |
| Invalid ids specified | `FUNCTIONAL_ERROR` | `checkInvestigatedEntitiesInputs` (modules/workspace/workspace-domain) | `ids` |
| Invalid restriction filters | `FUNCTIONAL_ERROR` | `buildRestriction` (modules/workspace/workspace-variables-validation), `parseRestrictionFilters` (modules/workspace/workspace-variables-validation) |  |
| Investigation not found | `FUNCTIONAL_ERROR` | `findInvestigationById` (modules/workspace/workspace-domain) | `investigationId` |
| The default value must belong to the selection | `FUNCTIONAL_ERROR` | `buildDefaultValue` (modules/workspace/workspace-variables-validation) |  |
| The preset value must belong to the selection of the variable | `FUNCTIONAL_ERROR` | `buildPresetValues` (modules/workspace/workspace-presets-validation) | `variableId` |
| The type of a dashboard variable cannot be changed | `FUNCTIONAL_ERROR` | `buildDashboardVariable` (modules/workspace/workspace-variables-validation) |  |
| This restriction mode does not accept values or filters | `FUNCTIONAL_ERROR` | `buildRestriction` (modules/workspace/workspace-variables-validation) |  |
| Unknown entity types | `FUNCTIONAL_ERROR` | `buildTypeSpecificFields` (modules/workspace/workspace-variables-validation) | `entityTypes` |
| Variables can only be defined on dashboards | `FUNCTIONAL_ERROR` | `loadDashboardForVariableEdition` (modules/workspace/workspace-variables-domain) | `type` |
| Work is not completed yet | `FUNCTIONAL_ERROR` | `editWorkInvestigationStatus` (modules/workspace/investigation-enrichment) | `workId` |
| Work not found | `FUNCTIONAL_ERROR` | `editWorkInvestigationStatus` (modules/workspace/investigation-enrichment) | `workId` |
| Workspace cannot be found | `FUNCTIONAL_ERROR` | `loadDashboardForVariableEdition` (modules/workspace/workspace-variables-domain) | `id` |
| WORKSPACE_EXPORT_INCOMPATIBLE_TYPE | `FUNCTIONAL_ERROR` | `generateWidgetExportConfiguration` (modules/workspace/workspace-domain), `generateWorkspaceExportConfiguration` (modules/workspace/workspace-domain) | `type` |
| You can only export investigation objects as a stix report bundle. | `FUNCTIONAL_ERROR` | `toStixReportBundle` (modules/workspace/investigation-domain) |  |

## parser {#parser}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| Only one value expected as attribute definition is not multiple | `UNSUPPORTED_ERROR` | `format` (parser/json-mapper) | `value` |
| Too many entities found for the mapping | `UNSUPPORTED_ERROR` | `handleBasedOnAttribute` (parser/json-mapper) |  |
| Unknown column name | `UNSUPPORTED_ERROR` | `extractValueFromCsv` (parser/csv-helper) | `name` |
| Unknown schema for attribute: | `UNSUPPORTED_ERROR` | `handleAttributes` (parser/csv-mapper), `jsonMappingExecution` (parser/json-mapper) | `attribute` |
| Unknown value(s) | `UNSUPPORTED_ERROR` | `handleBasedOnAttribute` (parser/csv-mapper) | `key` |

## resolvers {#resolvers}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| No ref of this type is defined for this entity type in DB schema | `FUNCTIONAL_ERROR` | `internalLoadThroughDenormalized` (resolvers/stix) | `entity_type`, `inputName` |

## schema {#schema}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| {type} is not supported by the platform | `UNSUPPORTED_ERROR` | `generateStandardId` (schema/identifier) |  |
| Attribute cannot be multiple | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `field`, `input` |
| Attribute must be a boolean/string | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `field`, `input` |
| Attribute must be a numeric/string | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `field`, `input` |
| Attribute must be a string | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `field`, `input` |
| Cannot validate an empty or invalid input | `UNSUPPORTED_ERROR` | `validateFormatSchemaAttributesFn` (schema/schema-validator), `validateInputUpdateFn` (schema/schema-validator) | `input` |
| Cant generate alias without entity type  | `UNSUPPORTED_ERROR` | `generateAliasesId` (schema/identifier) | `instance` |
| Direct using of from definition is not permitted | `FUNCTIONAL_ERROR` | `isRefExistingForTypes` (schema/stixRefRelationship) | `fromType`, `toType` |
| Direct using of to definition is not permitted | `FUNCTIONAL_ERROR` | `isRefExistingForTypes` (schema/stixRefRelationship) | `fromType`, `toType` |
| Missing required elements for {type} creation ({missingKeys}) | `FUNCTIONAL_ERROR` | `idGen` (schema/identifier) | `properties` |
| The counter should be a non-negative integer | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `field`, `input` |
| The input is not valid | `UNSUPPORTED_ERROR` | `validateInputCreationFn` (schema/schema-validator), `validateInputUpdateFn` (schema/schema-validator) | `input`, `inputs` |
| The JSON schema is not valid | `VALIDATION_ERROR` | `validateAndFormatSchemaAttribute` (schema/schema-validator) | `errors`, `field` |
| Type {type} has not available resolution | `UNSUPPORTED_ERROR` | `resolveContribution` (schema/identifier) |  |
| You cannot update incompatible attribute | `VALIDATION_ERROR` | `validateInputUpdateFn` (schema/schema-validator) | `field` |

## utils {#utils}

| Message | Error type | Raised by | Data attached |
| --- | --- | --- | --- |
| A filter with "within" operator must have 2 values | `UNSUPPORTED_ERROR` | `checkFilterGroupValuesSyntax` (utils/filtering/filtering-utils) | `filter` |
| A filter with these multiple keys is not supported | `UNSUPPORTED_ERROR` | `adaptFilterToComputedReliabilityFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys), `adaptFilterToEntityTypeFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys), `adaptFilterToFromOrToFilterKeys` (utils/filtering/filtering-completeSpecialFilterKeys) and 3 more | `keys` |
| A filter with these multiple keys is not supported : {arrayKeys} | `UNSUPPORTED_ERROR` | `adaptFilterToWorkflowFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| A related relations filter with this key is not supported | `UNSUPPORTED_ERROR` | `adaptFilterToFromOrToFilterKeys` (utils/filtering/filtering-completeSpecialFilterKeys) | `key` |
| Activity Stream Event filtering can only be executed on a unique filter key | `UNSUPPORTED_ERROR` | `validateFilterForActivityEventMatch` (utils/filtering/filtering-activity-event/activity-event-filtering) | `key` |
| Activity Stream Event filtering is not compatible with the provided filter key | `UNSUPPORTED_ERROR` | `validateFilterForActivityEventMatch` (utils/filtering/filtering-activity-event/activity-event-filtering) | `availableFilters`, `key` |
| Cannot edit authorized members in draft | `UNSUPPORTED_ERROR` | `buildRestrictedMembers` (utils/authorizedMembers) |  |
| Cannot process non-finite input | `FUNCTIONAL_ERROR` | `cropNumber` (utils/math) |  |
| Feature is disabled | `UNSUPPORTED_ERROR` | `enforceEnableFeatureFlag` (utils/access) | `flag` |
| Filter only support one user in parameter | `UNSUPPORTED_ERROR` | `testAuthorize` (utils/filtering/filtering-stix/stix-testers) | `filter` |
| Id or dynamic or relationship type are needed for this filtering key | `UNSUPPORTED_ERROR` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `key` |
| Incorrect filter keys containing invalid characters | `BAD_USER_INPUT_ERROR` | `checkFilterKeys` (utils/filtering/filtering-utils) | `keys` |
| Incorrect filter keys not existing in any schema definition | `BAD_USER_INPUT_ERROR` | `checkFilterKeys` (utils/filtering/filtering-utils) | `keys` |
| Incorrect filters format | `UNSUPPORTED_ERROR` | `checkFiltersFormat` (utils/filtering/filtering-utils) | `filter` |
| Invalid derivation path | `UNSUPPORTED_ERROR` | `deriveBytes` (utils/platformCrypto) | `derivationPath` |
| Invalid kid for decryption | `UNSUPPORTED_ERROR` | `decrypt` (utils/platformCrypto) | `expectedKid`, `receivedKid` |
| Invalid kid for signature verification | `UNSUPPORTED_ERROR` | `verify` (utils/platformCrypto) | `expectedKid`, `receivedKid` |
| Invalid operation | `UNSUPPORTED_ERROR` | `handleMarkingOperations` (utils/markingDefinition-utils) | `operation` |
| Invalid signature format | `UNSUPPORTED_ERROR` | `verify` (utils/platformCrypto) | `expectedMinimumLength`, `receivedLength` |
| It should have at least one valid member with admin access | `FUNCTIONAL_ERROR` | `buildRestrictedMembers` (utils/authorizedMembers) |  |
| JSONPath evaluation timeout after {timeout}ms | `FUNCTIONAL_ERROR` | `timeoutError` (utils/jsonPath.client) | `timeout` |
| JWT kid is unknown | `UNSUPPORTED_ERROR` | `getVerifyKey` (utils/platformCrypto) | `expectedKid`, `receivedKid` |
| Length must be positive | `UNSUPPORTED_ERROR` | `deriveBytes` (utils/platformCrypto) | `length` |
| Members types can only be User, Organization and Group | `FUNCTIONAL_ERROR` | `fetchMembersWithOrgaRestriction` (utils/access) | `entityTypes` |
| min cannot be greater than max | `FUNCTIONAL_ERROR` | `cropNumber` (utils/math) |  |
| Object attribute format is not filterable | `UNSUPPORTED_ERROR` | `completeSpecialFilterKeys` (utils/filtering/filtering-completeSpecialFilterKeys) | `format` |
| regardingOf filter only supports equality restriction | `UNSUPPORTED_ERROR` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| regardingOf filter with inferred subfilter only supports eq operator | `UNSUPPORTED_ERROR` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| Relationship type is needed for dynamic in regards of filtering | `UNSUPPORTED_ERROR` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `key`, `type` |
| Restricted to delete this element (not the technical creator) | `FUNCTIONAL_ERROR` | `controlUserRestrictDeleteAgainstElement` (utils/access) | `element_id`, `user_id` |
| Sorting on \[{orderCriteria}\] is not supported: this criteria does not have a sortBy definition in schema | `UNSUPPORTED_ERROR` | `buildElasticSortingForAttributeCriteria` (utils/sorting) |  |
| Specified ids not found or restricted | `RESOURCE_NOT_FOUND` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| Stix filtering can only be executed on a unique filter key | `UNSUPPORTED_ERROR` | `checkFiltersKeysForStixMatch` (utils/filtering/filtering-stix/stix-filtering) | `key` |
| Stream origin filtering can only be executed on a unique filter key | `UNSUPPORTED_ERROR` | `validateFilterForStreamOriginMatch` (utils/filtering/filtering-stream-origin/stream-origin-filtering) | `key` |
| Stream origin filtering is not compatible with the provided filter key | `UNSUPPORTED_ERROR` | `validateFilterForStreamOriginMatch` (utils/filtering/filtering-stream-origin/stream-origin-filtering) | `availableFilters`, `key` |
| The key is not correct | `UNSUPPORTED_ERROR` | `adaptFilterToWorkflowFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `keys` |
| The operators supported for a filter with key=workflow_id is not supported. | `UNSUPPORTED_ERROR` | `adaptFilterToWorkflowFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `operator` |
| The provided filter key is not an array | `UNSUPPORTED_ERROR` | `validateFilterForActivityEventMatch` (utils/filtering/filtering-activity-event/activity-event-filtering), `checkFiltersKeysForStixMatch` (utils/filtering/filtering-stix/stix-filtering) | `key` |
| The relationship type {relationshipType} is not allowed between {fromType} and {toType} | `FUNCTIONAL_ERROR` | `checkRelationConsistencyFn` (utils/modelConsistency) |  |
| The relationship type {relationshipType} is not allowed with the {toType} {name} | `FUNCTIONAL_ERROR` | `checkRelationConsistencyFn` (utils/modelConsistency) |  |
| The values for filter with "within" operator are not valid: you should provide a datetime or a valid relative date. | `UNSUPPORTED_ERROR` | `checkFilterGroupValuesSyntax` (utils/filtering/filtering-utils) | `filter` |
| This filter should be related to at least 1 Pir | `FUNCTIONAL_ERROR` | `adaptFilterToPirFilterKeys` (utils/filtering/filtering-completeSpecialFilterKeys) | `filter` |
| This operator is not supported for this filter key | `UNSUPPORTED_ERROR` | `adaptFilterToComputedReliabilityFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `keys`, `operator` |
| Too much ids specified | `UNSUPPORTED_ERROR` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) | `max`, `size` |
| Unknown CVSS component value {value} for component {metric} | `FUNCTIONAL_ERROR` | `getCodeValue` (utils/vulnerabilities) | `metric`, `value` |
| Unrecognized filter format; expecting FilterGroup | `UNSUPPORTED_ERROR` | `validateFilterGroupForActivityEventMatch` (utils/filtering/filtering-activity-event/activity-event-filtering), `validateFilterGroupForStreamOriginMatch` (utils/filtering/filtering-stream-origin/stream-origin-filtering) |  |
| Unsupported encrypted data | `UNSUPPORTED_ERROR` | `decrypt` (utils/platformCrypto) | `expectedMinimumLength`, `receivedLength` |
| Unsupported encrypted data encoding version | `UNSUPPORTED_ERROR` | `decrypt` (utils/platformCrypto) | `expectedVersion`, `receivedVersion` |
| Unsupported filter: 'And' operator between values of a filter with key = 'ids' is not supported | `UNSUPPORTED_ERROR` | `adaptFilterToIdsFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| Unsupported signature encoding version | `UNSUPPORTED_ERROR` | `verify` (utils/platformCrypto) | `expectedVersion`, `receivedVersion` |
| User effective max confidence level is insufficient to update this element | `FUNCTIONAL_ERROR` | `controlUserConfidenceAgainstElement` (utils/confidence-level) | `doc_code: INSUFFICIENT_CONFIDENCE_LEVEL`, `element_id`, `user_id` |
| User has insufficient rights to use upsertOperations | `FUNCTIONAL_ERROR` | `generateInputsForUpsert` (utils/upsert-utils) | `element_id`, `user_id` |
| User has no effective max confidence level and cannot create this element | `FUNCTIONAL_ERROR` | `controlCreateInputWithUserConfidence` (utils/confidence-level) | `user_id` |
| User has no effective max confidence level and cannot update this element | `FUNCTIONAL_ERROR` | `adaptUpdateInputsConfidence` (utils/confidence-level), `controlUserConfidenceAgainstElement` (utils/confidence-level) | `element_id`, `user_id` |
| User has no effective max confidence level and cannot upsert this element | `FUNCTIONAL_ERROR` | `controlUpsertInputWithUserConfidence` (utils/confidence-level) | `element_id`, `user_id` |
| User trying to create the data has missing markings | `FUNCTIONAL_ERROR` | `validateMarking` (utils/access) | `id`, `user_markings` |
| Version must be positive | `UNSUPPORTED_ERROR` | `deriveBytes` (utils/platformCrypto) | `version` |
| Workflow status filter only supports equality and empty operators | `UNSUPPORTED_ERROR` | `resolveFilter` (utils/filtering/workflow-status-filter) | `operator` |
| You are not allowed to use PIR filtering | `FORBIDDEN_ACCESS` | `adaptFilterToRegardingOfFilterKey` (utils/filtering/filtering-completeSpecialFilterKeys) |  |
| You can't grant access to everyone in an organization sharing context | `FUNCTIONAL_ERROR` | `buildRestrictedMembers` (utils/authorizedMembers) |  |
| You should provide a PIR ID to order by pir_score. | `FUNCTIONAL_ERROR` | `buildElasticSortingForAttributeCriteria` (utils/sorting) |  |
