Errors and Retries
Section titled “Errors and Retries”Every failure your client will ever see from OSOS is either a rejection at the gateway, a typed exception from one of the platform services, or an error from one of the Express edge services. This page is the reference for all three: the shape each one arrives in, the complete error.code catalogue grouped by the exception class that raises it, a written retry policy, and how to use traceId when you escalate. The mechanics the whole API shares — the response envelope, routing, versioning, pagination — are owned by Calling the HTTP API and are not restated here; the Quickstart walks through handling one error end to end.
Codes and class names below are reproduced exactly as the platform emits them, including their misspellings — match on them verbatim.
Where errors originate
Section titled “Where errors originate”A request crosses up to three error-producing layers, and each has its own body shape. The first thing an error handler should do is work out which layer it is talking to.
The gateway. The gateway’s plugins authenticate, resolve the tenant and check access before any service is reached, and they reject with a shared helper whose shape looks like the platform envelope but differs in two tells: error.message is a plain string, not a localized object, and error.serviceName is always "API Gateway":
{ "success": false, "error": { "code": "SPACE_FORBIDDEN", "message": "User does not have access to the specified space", "serviceName": "API Gateway", "traceId": "5b2f…", "details": null }}Gateway rate-limit rejections are the one exception: they come from Kong’s stock rate-limiting plugin (api-gateway/config/kong.yml) as a 429 with Kong’s own small message body, not this shape.
The platform services. Every LoopBack service — the entire data plane — funnels errors through one reject provider and one body factory. The enveloped failure body:
{ "success": false, "result": { "errorCode": "UNIQUE_VALUE", "errorMessage": "email is unique", "service": "", "details": { "field": { "path": "email", "originalPath": "value.email", "value": "a@example.com" } }, "retryable": false }, "error": { "code": "UNIQUE_VALUE", "message": { "en": "…", "ar": "…" }, "traceId": "5b2f…" }}Four facts about this shape that the code guarantees and a client must know:
errorcarries exactlycode,messageandtraceId. Branch oncode; it resolves aserrorCode ?? code ?? name, so an error that was never given a platform code surfaces its JavaScript class name instead —UnauthorizedError,ForbiddenError,NotFoundError, and on a genuine server bug evenTypeError.error.messageis a per-service dictionary lookup. The data service’s dictionary localizes 262 codes; for any code outside it the factory returns{ "en": "<the code itself>", "ar": "" }. Never rely onmessage.arbeing non-empty, and never parsemessageat all.resultis notnullon failure. The factory leaves a remnant of the internal exception there: for typed exceptions the serialized object above — which is where the structureddetailspayload actually lives, e.g. the failingfieldof a unique-value violation or the per-violation array of a body-validation failure — and for untyped errors just the message string. The factory carries an unresolved@fixmeon this method; treatresult-on-failure as observed behaviour, useful for diagnostics, not as a contract to build on.- Relayed errors pass through verbatim. When a service forwards a failure from another service, the upstream
errorobject is reused as-is and may carry extra fields (details,serviceName). Tolerate unknown properties.Since 1.8the status follows it too: a 4xx from the other service is answered with that 4xx, not flattened to500(relayedClientError). A non-JSON reply from the other service still reads as a transport failure.
The Express edge services. users-service (authentication) and storage-service are not LoopBack and do not envelope. Token and OIDC endpoints fail with standard OAuth 2.0 error objects (error, error_description). The step-up unmask endpoints for sensitive fields (Since 1.8) return a flat { "error": "<CODE>" } body — their codes are catalogued below.
How the HTTP status is resolved
Section titled “How the HTTP status is resolved”The reject provider resolves the status in a fixed order — statusCode, then status, then the typed exception’s requestCode, then 404 if the code is ENTITY_NOT_FOUND, else 500 — as documented in Calling the HTTP API. What that page does not spell out is where requestCode comes from and what happens when it is missing, and that is the single most important thing on this page for retry logic.
Each service defines a small set of abstract exception families, and only the family sets the status (note the file name):
| Family | requestCode | Retry? |
|---|---|---|
ValidationException | 400 | Never — the request is wrong; fix it. |
UnauthorizedException | 401 | Refresh the credential, retry once. |
ForbiddenException | 403 | Never — a permission or view-access decision. |
NotFoundException | 404 | Never — re-check the identifier. |
ConflictException | 409 | Re-read state, then re-attempt deliberately. |
UnprocessableEntityException | 422 | Never — the payload is semantically invalid. |
bare DataException | 500 (none set) | Never — it is deterministic, not transient. |
The last row is the trap. A concrete exception class that extends DataException directly — without passing through a family that sets requestCode — surfaces as HTTP 500, and the data service alone has 101 such classes for purely semantic failures: ACTION_NOT_ALLOWED, most workflow-configuration errors, duplicate-name violations. A 500 from OSOS therefore does not imply a transient server fault. Check error.code against the catalogue before deciding to retry: a 500 carrying a catalogued code will fail identically on every attempt. Several of these refusals moved to a proper family — executing a hidden workflow action is 422 (Since 1.8), re-archiving an archived entity is 422 and a view saved with no supported edit operation is 400 (Since 1.10) — and new refusals were added in the right family from the start; the rows are marked in the table below and summarised in Calling the HTTP API. Code that special-cased one of these codes under 500 must now look for it under its new status.
Two normalizations happen inside the reject provider before serialization:
- A MongoDB duplicate-key error (driver code
11000) becomesUniqueValueException: HTTP400, codeUNIQUE_VALUE, with the offending field path and value underresult.details.field. - An authentication failure inside the pipeline (
USER_PROFILE_NOT_FOUND) becomes a plain401whoseerror.codeisUnauthorizedError.
One more thing the base class reveals: DataException declares a retryable field, and it is on the wire in the result remnant. Only a handful of 503 refusals set it to true — storage unreachable (STORAGE_SERVICE_UNAVAILABLE), the dependency check of an entity purge, the functions service’s own unavailability and, Since 1.10, the backup API’s 503s; everything else leaves it false. Do not branch on it; derive retryability from status and code as this page describes.
The error-code catalogue
Section titled “The error-code catalogue”The catalogue below groups every concrete typed exception the services and gateway define under the family that determines its status. It is the complete typed error surface. Three honest caveats:
- A class being defined does not prove every operation can raise it; some fire only in background jobs, where the failure surfaces through a job-status poll rather than an HTTP error (see Long-running work).
- The same code string can carry a different status in a different service —
ENTITY_FIELD_NOT_EXISTis a404from the data service but a500from the automation service, because the two services’ classes chose different families. Branch oncode; treat the status as the coarse signal. - Three constants are exported under one name but emit a different string on the wire. The tables list wire values; grep the backend for the constant name if you need the source:
| Constant (source) | Wire value (error.code) |
|---|---|
FILTER_FIRST_FIELD_CAN_NOT_BE_OF_THIS_TYPE | FILTER_FIRST_FIELD_CAN_NOT_BE_OF_THIS_TYPE_EXISTS |
ROLE_MUST_BE_JOB_POSITION | ROLE_MUST_BE_JOP_POSITION |
INVALID_MANAGER_STEP_OWNER_SELECTION_CRITERIA | INVALID__MANAGER_STEP_OWNER_SELECTION_CRITERIA (double underscore) |
Gateway errors
Section titled “Gateway errors”Raised by the gateway’s plugins before any service is reached, in the gateway shape shown above. The 500s in this table are infrastructure failures (the gateway could not reach its own dependencies) and are the only 500s in this catalogue worth an automatic retry.
| Status | error.code | Plugin | When |
|---|---|---|---|
| 400 | DOMAIN_ERROR | domain-resolver | The request Host does not resolve to a tenant. |
| 404 | SPACE_ERROR | space-resolver | No space matches the host (Since 1.10; it was 400). |
| 404 | APP_ERROR | app-resolver | In a multi-tenant deployment: the host maps to no tenant (Since 1.10). |
| 400 | SPACE_ID_MISSING | user-space-checker | The x-space-id header is absent where required. |
| 400 | MISSING_DOMAIN_ID | osos-access | Domain id missing from the resolved context. |
| 400 | MISSING_USER_ID | user-delegation | Delegation requested without a user id. |
| 400 | INVALID_APP_TOKEN_API_ERROR | app-token-auth | The x-app-token API token is unknown, expired, deactivated or archived. The plugin passes on the validation endpoint’s 400. Do not retry. |
| 401 | AUTHENTICATION_ERROR | oauth2-introspection | The bearer token failed introspection. |
| 403 | INVALID_ACCESS | osos-access | The access object forbids this route/view for this caller. |
| 403 | SPACE_FORBIDDEN | user-space-checker | The user is not a member of the requested space. |
| 403 | DELEGATION_EXPIRED | user-delegation | The delegation window has lapsed. |
| 429 | (Kong body) | rate-limiting | Over 100 requests/second or 10,000/hour to one service. |
| 429 | RATE_LIMITED | tenant-rate-limit | In a multi-tenant deployment: the tenant exceeded its per-second or per-minute budget; honour Retry-After (Since 1.10). |
| 503 | RATE_LIMIT_UNAVAILABLE | tenant-rate-limit | The limiter’s store failed and the operator chose to refuse; Retry-After: 1 (Since 1.10). |
| 500 | REDIS_ERROR, REDIS_CONNECTION_ERROR | several | The gateway could not reach or read its Redis. |
| 500 | API_REQUEST_ERROR, API_DECODE_ERROR, API_LOGIC_ERROR | user-space-checker, osos-access | An internal lookup call failed or returned garbage. |
| 500 | AUTHENTICATION_ERROR | oauth2-introspection | Introspection infrastructure failed (distinct from the 401). |
| 500 | APP_TOKEN_VALIDATION_REQUEST_FAILED | app-token-auth | The token-validation call could not complete. |
| 500 | USER_PROFILE_FETCH_ERROR, ACCESS_OBJECT_DECODE_ERROR | osos-access | Profile or access-object retrieval failed. |
| 500 | DELEGATION_API_REQUEST_FAILED, DELEGATION_API_DECODE_ERROR, DELEGATION_API_LOGIC_ERROR, DELEGATION_DATE_PARSE_ERROR | user-delegation | The delegation lookup failed. |
| 500 | INTERCEPTOR_DECODE_ERROR | interceptor | The interceptor could not decode an internal response. |
| 500 | KNATIVE_REQUEST_FAILED | knative-functions | A function invocation could not be dispatched. |
Framework errors (any LoopBack service)
Section titled “Framework errors (any LoopBack service)”Raised by the request pipeline itself, in any LoopBack service, before or around your operation. The request-validation codes come from @loopback/rest; the rest surface a class name because no platform code was attached.
| Status | error.code | When |
|---|---|---|
| 400 | INVALID_PARAMETER_VALUE | A query/path parameter failed coercion or validation — e.g. malformed filter JSON. |
| 400 | MISSING_REQUIRED_PARAMETER | A required parameter was omitted — Since 1.10 also an entry or draft create sent with no body at all, and Since dev a view save (PATCH /api/v1/entities/{entity}/views/{id}) sent with no body. |
| 400 | SPACE_CONTEXT_MISSING | A service was reached with no usable x-space-id and no space scope (Since 1.10; see Tenancy and identity). Not retryable as is. |
| 400 | SPACE_NOT_RESOLVED | The x-space-id header conflicts with the space already in scope (Since 1.10). |
| 400 | UNIQUE_VALUE | The normalized Mongo duplicate-key violation; the failing field is under result.details.field. |
| 401 | UnauthorizedError | Missing or invalid credential — including the normalized USER_PROFILE_NOT_FOUND case. |
| 403 | ForbiddenError | An untyped forbidden — notably the human-verification gate on anonymous entry creation. |
| 404 | NotFoundError | No route matched, or an untyped miss such as an unknown job id. |
| 404 | TENANT_NOT_RESOLVED | In a multi-tenant deployment: the host maps to no active tenant (Since 1.10). |
| 415 | UNSUPPORTED_MEDIA_TYPE | The content-type is not accepted. |
| 422 | VALIDATION_FAILED | The request body failed schema validation; the per-violation breakdown (JSON path, keyword, allowed values) is under result.details. |
| 503 | TENANT_IN_MAINTENANCE | In a multi-tenant deployment: the tenant’s data is being restored from a backup, or the tenant is held for a move to another cell (Since 1.10). Comes with Retry-After (1–3600 s, default 30); also answered by users-service and storage-service. Written directly, so traceId is NO-TRACE-ID and message.ar is empty. Wait and retry. |
| 500 | TypeError, other JS class names | An unhandled server bug. Report it; never retry-loop on it. |
The data plane — data-service
Section titled “The data plane — data-service”The largest surface. The data service defines about 520 concrete exception classes; resolving each to its family gives roughly 311 validation (400), 2 unauthorized (401), 34 forbidden (403), 46 not-found (404), 10 conflict (409), 21 unprocessable (422), and 95 on the bare DataException — most of those surface as 500, a few set their own status (the 503s and the backup API, whose refusals carry the backup engine’s status). The table below is not exhaustive (the 1.10 additions and re-classifications are marked Since 1.10), so a code absent from it is not proof that it does not exist.
Points worth pulling out of the table before you scan it:
- The sensitive-field group (Since 1.8):
SENSITIVE_FIELD_NOT_ALLOWED,SENSITIVE_FIELD_CANNOT_BE_MAIN_TITLE,SENSITIVE_FIELD_QUERY_NOT_ALLOWEDandSENSITIVE_FIELD_WRITE_NOT_ALLOWEDare400validation rejections raised when a definition, query or write touches a sensitive field in a way the platform forbids. - The lock family is
409:LOCKED_OBJECT,LOCKED_OBJECT_ALREADY_OWNED,NOT_ALLOWED_TO_LOCK_OBJECT— another actor holds the object. Waiting and re-reading is the correct response; blind retry is not. UPDATE_CONFLICT(409) means yourupdateIdentifierno longer matches the stored one — the entry changed under you. Re-fetch, re-apply your change, resubmit. See Writing data.- Permission-configuration errors live (spelled exactly so) and are
400s about entitlement configuration — e.g.ENTITLED_ENTRY_RESTRICTED_PERMISSION,RESTRICTED_LEVEL_SYSTEM_ONLY— not runtime permission denials, which are the403family. - Two
404s are special-cased:DataSourceEntityNotExistandEntitiesNotFoundextend the bare base, and reach404only because the reject provider maps the codeENTITY_NOT_FOUNDexplicitly. - The
401s are unusual.DashboardConfigurationNotEnabledExceptionis a dashboard-configuration state, not a credential problem, despite its status;UserNotAuthenticatedException(USER_NOT_AUTHENTICATED) is a user-scoped endpoint called with an anonymous token. - Plan limits are
403sSince 1.10—ENTRY_CAP_EXCEEDED,ENTITY_CAP_EXCEEDED,SPACE_CAP_EXCEEDED(andSTORAGE_CAP_EXCEEDEDfromstorage-service). They refuse creates only, and retrying will not help until the tenant’s plan or usage changes — see Plan limits. - The backup API relays the backup engine’s codes with their own status
Since 1.10—400,404,409,429(quota, withRetry-After),501(single-tenant deployment),502,503(withRetry-After: 60). The full list is in Tenant backups, restores and exports.
| Status | error.code | Originating exception class |
|---|---|---|
| 400 | ALL_ENTRY_VALIDATION_ERROR | AllEntryValidationExceptions |
| 400 | ARCHIVE_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | ArchiveEntriesMustProvideIdsOrSelectAllException |
| 400 | ASSIGNMENT_LEVEL | OrgUnitAcceptJustMainLevelException |
| 400 | ATTACHMENT_EXTENSIONS_NOT_SET | ViewDiscussionsAttachmentExtensionsException |
| 400 | BULK_UPDATE_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | BulkUpdateEntriesMustProvideIdsOrSelectAllException |
| 400 | BULK_UPGRADE_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | BulkUpgradeEntriesMustProvideIdsOrSelectAllException |
| 400 | CAN_NOT_ARCHIVE_DOMAIN_IN_USE | CanNotArchiveDomainInUse |
| 400 | CAN_NOT_ARCHIVE_TEMPLATE_IN_USE | CanNotArchiveTemplateInUse |
| 400 | CAN_NOT_CHANGE_CONDITIONAL_INCREMENT_CONFIGURATIONS | CanNotChangeConditionalIncrementConfigurations |
| 400 | CASCADED_FIELD | CascadedFieldException |
| 400 | CIRCULAR_RELATION_NOT_ALLOWED | CircularRelationNotAllowedException |
| 400 | COLLECTION_IS_IMPLICIT | ImplicitDeleteException |
| 400 | COLLECTION_ITEM_IS_IMPLICIT | ImplicitItemUpdateException |
| 400 | COMPONENT_GROUP_ID_NOT_EXIST | ComponentGroupIdNotExistException |
| 400 | COMPONENT_GROUP_ID_NOT_UNIQUE | ComponentGroupIdMustBeUniqueException |
| 400 | COMPONENT_ID_NOT_UNIQUE | ComponentIdMustBeUniqueException |
| 400 | COMPONENT_INCOMPATIBLE_RESTRICTED_PERMISSION | IncompatibleRestrictedPermissionException |
| 400 | COMPONENT_VISIBILITY | ComponentVisibilityForAnonymousException |
| 400 | COUNTER_VIEW_MISSED_MINICARD_VIEW_TYPE | CounterViewMissedMiniCardException |
| 400 | CURRENT_USER_FILTER_CAN_NOT_BE_ENABLED | CurrentUserFilterCanNotBeEnabledException |
| 400 | CURRENT_USER_GROUP_FILTER_CAN_NOT_BE_ENABLED | CurrentUserGroupsFilterCanNotBeEnabledException |
| 400 | CUSTOM_EVENT_INVALID_CONFIGS | CustomEventInvalidConfigsException |
| 400 | CUSTOM_VALIDATION_EXPRESSION_FAILED | CustomValidationExpressionFailed |
| 400 | DASHBOARD_ELEMENT_DUPLICATE | DashboardElementDuplicateException |
| 400 | DASHBOARD_ELEMENT_USED_MORE_THAN_ONCE | DashboardElementUsedMoreThanOneException |
| 400 | DATA_QUERY_UPDATE | DataQueryUpdateException |
| 400 | DATA_VIEW_INVALID_ALLOWED_OPERATIONS | DataViewAllowedOperationNotFoundException (was 500) Since 1.10 |
| 400 | DATA_VIEW_INVALID_ARCHIVED_OPERATION_FIELDS_VALUE | DataViewArchivedOperationFieldsExistException |
| 400 | DATA_VIEW_MISSED_REQUIRED_FIELDS | DataViewMissedRequiredFieldsException |
| 400 | DATA_VIEW_OPERATION_FIELDS_REQUIRED | DataViewOperationFieldsRequiredException |
| 400 | DATA_VIEW_SOURCE_ENTITIES_MAPPING_INVALID_SOURCE | DataViewSourceEntitiesMappingInvalidSourceException |
| 400 | DATA_VIEW_SOURCE_ENTITIES_MAPPING_NOT_SUPPORTED_FOR_NON_AGGREGATOR_ENTITY | DataViewSourceEntitiesMappingNotSupportedForNonAggregatorEntityException |
| 400 | DELETE_IMPLICIT_RESOURCE_RESTRICTION | DeleteImplicitResourcesException |
| 400 | DENY_CIRCULAR_RELATION_WITH_MULTI_VALUE_OR_REPEATABLE | DenyCircularRelationWithMultiValueOrRepeatableException |
| 400 | DETAILS_META_DATA_FILTER_CAN_NOT_BE_ENABLED | DetailsMetaDataFilterCanNotBeEnabledException |
| 400 | DRAFT_ENTRY_NOT_BELONG_TO_USER | DraftEntryNotBelongToUserException |
| 400 | DUPLICATE_FIELD_UNIQUE_ERROR | DuplicatedFieldCanNotBeUniqueError |
| 400 | DUPLICATE_PERMISSIONS | ViewAnonymousAndRestrictedException |
| 400 | DUPLICATED_ASSIGNMENT | AnotherAssignmentExists |
| 400 | DUPLICATED_SHOW_AS_FIELD_OPTION | DuplicatedShowAsException |
| 400 | EMBEDDED_PAGE_INVALID_URL | EmbeddedPageInvalidURLException |
| 400 | EMBEDDED_PAGE_MUST_HAVE_URL | EmbeddedPageMustHaveURLException |
| 400 | EMPTY_ARRAY | ArrayCanNotBeEmptyException |
| 400 | EMPTY_LOCALIZED_FIELD | EmptyLocalizedException |
| 400 | END_USER_SPACE_ALREADY_ACTIVATED | EndUserSpaceAlreadyActivatedException |
| 400 | END_USER_SPACE_ALREADY_DEACTIVATED | EndUserSpaceAlreadyDeactivatedException |
| 400 | ENTITLED_ENTITY_NOT_ACTIVE | EntitledEntityNotActiveException |
| 400 | ENTITLED_ENTITY_NOT_EXIST | NotExistEntitledException |
| 400 | ENTITLED_ENTRY_RESTRICTED_PERMISSION | RestrictedPermissionEntitledEntriesEmptyExcecption |
| 400 | ENTITLEMENT_TYPE_REQUIRED | EntitlementTypeRequiredException |
| 400 | ENTITY_TYPE_NOT_REQUEST | EntityNotOfTypeRequestException |
| 400 | ENTRIES_CONFIGURATION_NOT_ENABLED_FOR_VIEW | ViewEntriesNotAccessibleException |
| 400 | ENTRIES_CONFIGURATIONS_MUST_BE_ENABLED | EntriesConfigurationMustBeEnabled |
| 400 | ENTRY_COMPLETED | SpecifiedEntryCompletedException |
| 400 | ENTRY_NOT_IN_WORKFLOW | EntryNotInWorkflowException |
| 400 | ENTRY_VALIDATION_ERROR | EntryValidationException |
| 400 | ENTRY_VALIDATION_ERROR | ValidatorFunctionEntryValidationException |
| 400 | ENTRY_VERSION_REQUIRED | EntryVersionRequiredException |
| 400 | EXTERNAL_STEP_CONFIG_REQUIRED | ExternalStepConfigRequiredException |
| 400 | EXTERNAL_STEP_CUSTOM_PAYLOAD_REQUIRES_POST | ExternalStepCustomPayloadRequiresPostException |
| 400 | EXTERNAL_STEP_MANUAL_EXECUTION_NOT_ALLOWED | ExternalStepManualExecutionNotAllowedException |
| 400 | EXTERNAL_STEP_OWNER_MUST_BE_USER | ExternalStepOwnerMustBeUserException |
| 400 | FAIL_TO_ADD_FIELD | FailToAddFieldException |
| 400 | FAILURE_ACTION_REQUIRED | FailureActionsRequiredException |
| 400 | FIELD_MUST_ENABLE_CIRCULAR_RELATION | FieldMustEnableDenyCircularRelationException |
| 400 | FILE_EXPIRED | FileExpiredException Since 1.10 |
| 400 | FILTER_FIRST_CAN_ENABLE_AUTOFILL_WITHOUT_ENABLING_ADD_ENTRIES | FilterFirstCanNotEnableAutofillWithoutEnablingAddEntries |
| 400 | FILTER_FIRST_CAN_NOT_BE_ENABLED_WITH_DASHBOARD | FilterFirstCanNotBeEnabledWithDashboard |
| 400 | FILTER_FIRST_CUSTOM_QUERY_NOT_PROVIDED | FilterFirstCustomQueryNotProvidedException |
| 400 | FILTER_FIRST_FIELD_CAN_NOT_BE_OF_THIS_TYPE_EXISTS | FilterFirstFieldCanNotBeAppliedToFieldType |
| 400 | FILTER_FIRST_FIELD_NOT_EXISTS | FilterFirstFieldNotExists |
| 400 | FILTER_FIRST_FIELDS_MISMATCH | FilterFirstFieldsMismatch |
| 400 | FILTER_FIRST_MAX_FIELDS_LENGTH | FilterFirstMaxFieldsLength |
| 400 | FILTER_FIRST_MIN_FIELDS_LENGTH | FilterFirstMinFieldsLength |
| 400 | FILTER_FIRST_SHOULD_BE_ENABLED_WITH_QUERY_PARAMETER | FilterFirstShouldBeEnabledWithQueryParameter |
| 400 | FONT_FORMAT_NOT_SUPPORTED | FontFormatNotSupportedException |
| 400 | GENERATING_COUNTER_ERROR | GeneratingCounterException |
| 400 | GENERATING_COUNTER_SEQUENCE_ERROR | GeneratingCounterSequenceException |
| 400 | GENERIC_VIEW_NORMALIZED_NAME_DUPLICATE | GenericViewNormalizedNameDuplicateException |
| 400 | GENERIC_VIEW_RELATED_TO_DATA_ENTITY | GenericViewRelatedToDataEntityException |
| 400 | GET_SYSTEM_BUTTONS_STATUS_FOR_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | GetSystemButtonsStatusForEntriesMustProvideIdsOrSelectAllException |
| 400 | IMPLICIT_DELETE_RESTRICTION | ImplicitEntityDeleteException |
| 400 | IMPLICIT_DELETE_RESTRICTION | ImplicitRelationDeleteException |
| 400 | IMPLICIT_ENTRY_UPDATE | ImplicitEntryException |
| 400 | IMPLICIT_FIELD_RESTRICTION | ImplicitFieldException |
| 400 | IMPLICIT_UPDATE_RESTRICTION | ImplicitEntityUpdateException |
| 400 | IMPLICIT_UPDATE_RESTRICTION | ImplicitRelationUpdateException |
| 400 | IMPLICIT_UPDATE_RESTRICTION | ImplicitResourceUpdateException |
| 400 | INLINE_EDIT_NOT_ALLOWED | ViewDoesNotSupportInlineEdit |
| 400 | INTERNAL_ENTITY_NOT_FOUND | InternalEntityNotFoundException |
| 400 | INVALID__MANAGER_STEP_OWNER_SELECTION_CRITERIA | InvalidManagerStepOwnerSelectionCriteria |
| 400 | INVALID_CATEGORY_OBJECT | InvalidCategoryObject |
| 400 | INVALID_DATA_VIEW | InvalidDataViewException |
| 400 | INVALID_EXPORT_FORMAT | InvalidExportFormatException |
| 400 | INVALID_FIELD_MAPPING | InvalidFieldMappingException |
| 400 | INVALID_FIELD_SOURCE_FOR_DENY_CIRCULAR_RELATION | InvalidFieldSourceForDenyCircularRelationException |
| 400 | INVALID_GEOJSON_OBJECT | InvalidGeojsonObject |
| 400 | INVALID_LOCALIZATION | InvalidLocalizationException |
| 400 | INVALID_LOCK_END_DATE | InvalidLockEndDate |
| 400 | INVALID_OR_DISABLED_TRIGGER | InvalidOrDisabledTriggerException |
| 400 | INVALID_POINTER | InvalidPointerException Since 1.10 |
| 400 | INVALID_QUERY_EXPRESSION_TYPE | DataQueryExpressionTypeValidationException |
| 400 | INVALID_QUERY_EXPRESSION_VALUE | DataQueryExpressionValueNotStringException |
| 400 | INVALID_RELATED_FIELD | InvalidRelatedFieldException |
| 400 | INVALID_STATISTIC_QUERY_SOURCE | StatisticQuerySourceNotSameAsViewException |
| 400 | INVALID_STATISTIC_QUERY_VALIDATION | StatisticQueryValidationExcpetion |
| 400 | INVALID_STEP_HAS_MULTIPLE_MAIN_ACTIONS | InvalidStepHasMultipeMainActionsException |
| 400 | INVALID_STEP_ID | WorkflowStepIdNotExistException |
| 400 | INVALID_STRING_DATE | InvalidStringDateException |
| 400 | INVALID_SYSTEM_LINK_TOKEN | InvalidViewTokenExption |
| 400 | INVALID_THRESHOLD_VALUE | InvalidStepOwnerThresholdException |
| 400 | INVALID_TOKENS_MAP | InvalidTokensMapException |
| 400 | JOINER_PROXY_MAX_FIELDS_LIMIT_EXCEEDED | JoinerProxyMaxFieldsLimitExceeded |
| 400 | JOINER_PROXY_MAX_SOURCES_LEVELS_LIMIT_EXCEEDED | JoinerProxyMaxSourcesLevelsLimitExceeded |
| 400 | JOINER_PROXY_MAX_SOURCES_LIMIT_EXCEEDED | JoinerProxyMaxSourcesLimitExceeded |
| 400 | LANGUAGE_MAX_LENGTH | LanguageMaxLengthException |
| 400 | LANGUAGE_MIN_LENGTH | LanguageMinLengthException |
| 400 | LANGUAGE_NOT_SUPPORTED | LanguageNotSupportedException |
| 400 | LOCALIZATION_DUPLICATE | DuplicatedLocalization |
| 400 | MAIN_TITLE_CANNOT_BE_REPEATABLE_OR_MULTIPLE | MainTitleCannotBeRepeatableOrMultipleException |
| 400 | MAX_LESS_THAN_MIN | MinMaxValidationException |
| 400 | MAX_VALUE_SHOULD_BE_NUMBER | MaxValueShouldBeNumberException |
| 400 | MAX_VALUE_SHOULD_NOT_BE_SMALLER_THAN_MIN_VALUE | MaxValueShouldNotBeSmallerThanMinValueException |
| 400 | META_DATA_FILTER_CAN_NOT_BE_ENABLED | MetaDataFilterCanNotBeEnabledException |
| 400 | MIN_VALUE_SHOULD_BE_NUMBER | MinValueShouldBeNumberException |
| 400 | MISSING_FIELDS_FOR_FILTER_FIRST | MissingFieldsForFilterFirstException |
| 400 | MISSING_FILTER_FIRST_FIELD_NAME | MissingFilterFirstFieldName |
| 400 | MISSING_REQUIRED_STEP_ACTIONS | MissingStepActionsException |
| 400 | MODULE_HAS_ENTITIES | ModuleHasEntities |
| 400 | MULTIPLE_MANAGER_ROLE_NOT_ALLOWED | MultipleManagerRoleNotAllowed |
| 400 | MUST_AUTOMATE_AT_LEAST_ONE_STEP | MustAutomateAtLeastOneStepException |
| 400 | MUST_ENABLE_AUTHENTICATED | AuthenticatedMustEnabledExcecption |
| 400 | MUST_ENABLE_DISCUSSIONS_TO_ENABLE_DISCUSSIONS_ATTACHMENTS_INSIDE_ENTRY_INFO | MustEnableDiscussionsToEnableDiscussionsAttachmentsInsideEntryInfo |
| 400 | MUST_ENABLE_ENTRIES_LIST_OR_ENTRY_DETAILS_TO_ENABLE_SYSTEM_BUTTONS_ON_VIEW | MustEnableEntriesListOrEntryDetailsToEnableSystemButtonsOnView |
| 400 | MUST_ENABLE_RESTRICTED | RestrictedMustEnabledExcecption |
| 400 | MUST_PROVIDE_ITEMS_TO_EXPORT_PROPERTY | MustProvideITemsToExportProperty |
| 400 | NESTED_REFERENCE_MAIN_TITLE_REFERENCED_BY_OTHER_ENTITY | NestedReferenceMainTitleReferencedByOtherEntity |
| 400 | NESTED_REFERENCE_MAIN_TITLE_SOURCE_IS_REFERENCE | NestedReferenceMainTitleSourceIsReference |
| 400 | NEW_FIELDS_UNIQUE_ERROR | NewFieldCantBeUniqueError |
| 400 | NORMAL_QUERY_TO_PARAMETERIZED_QUERY_RESTRICTION | DataQueryParameterizationChangeException |
| 400 | NOT_ALLOWED_TO_PATCH_UPDATE_FIELDS | NotAllowedToPatchUpdateFields |
| 400 | NOT_ENOUGH_STORE_SPACES_SELECTED | NotEnoughStoreSpacesSelectedException |
| 400 | OBSOLETED_SAME_VERSION | EntrySameVersionException |
| 400 | OPERATION_NOT_SUPPORTED_FOR_THIS_STORE_TYPE | OperationNotSupportedForThisType |
| 400 | ORIGINAL_OWNER_NOT_FOUND | OriginalOwnerNotFoundException |
| 400 | PARALLEL_STEP_OWNER_ALREADY_EXECUTED_STEP | ParallelStepOwnerAlreadyExecutedStepException |
| 400 | PATCH_UPDATE_DUPLICATE_REFERENCE_ENTRY_ID | PatchUpdateDuplicateReferenceEntryIdException |
| 400 | PATCH_UPDATE_SELF_MODE | PatchUpdateSelfModeException |
| 400 | PERMANENT_DELETE_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | PermanentDeleteEntriesMustProvideIdsOrSelectAllException |
| 400 | PERMISSIONS_ANONYMOUS_OR_RESTRICTED_NOT_ENABLED | AnonymousOrRestrictedNotEanabledException |
| 400 | PERMISSIONS_ANONYMOUS_RESTRICTED_ENABLED | AnonymousAndRestrictedEnabledException |
| 400 | PERMISSIONS_NOT_SET | ViewPublishedWithoutPermissionsException |
| 400 | PERSON_CAN_HAVE_ONE_MAIN_ASSIGNMENT | UserCanHaveOnlyOneAssignment |
| 400 | PLATFORM_NOT_SUPPORTED | PlatformNotSupportedException |
| 400 | POST_TEMPLATE_NOT_EXIST | PostTemplateNotExistException |
| 400 | QUERY_ALREADY_IN_USE | QueryInUsedException |
| 400 | QUERY_ENGINE_EXPRESSION_ERROR | ExpressionParsingException |
| 400 | READONLY_ENTITY_OPERATION | ReadOnlyEntityOperationException |
| 400 | RELATED_FIELDS_REQUIRED | RelatedFieldsRequiredException |
| 400 | RELATION_NOT_FOUND_INSIDE_VIEW | RelationNotFoundInsideViewException |
| 400 | RELATIVE_VALUE_NOT_SUPPORTED | RelativeValueNotSupportedException |
| 400 | REPORT_DATA_SOURCE_NOT_SUPPORTED | ReportDataSourceSupportedException |
| 400 | REPORT_EXISTS | ReportExistException |
| 400 | REPORT_FIELDS_LENGTH | ReportFieldsLengthException |
| 400 | REPORT_FIELDS_NOT_EXIST | ReportFieldsNotExistException |
| 400 | REPORT_SENDING_TIME | ReportSendingTimeCanNotBeInThePastException |
| 400 | REQUEST_CANNOT_EDITED | CanNotEditEntryException |
| 400 | REQUEST_CANNOT_PUBLISHED | ServiceHasNoWorkflowException |
| 400 | RESTORE_ENTRIES_MUST_PROVIDE_IDS_OR_SELECT_ALL | RestoreEntriesMustProvideIdsOrSelectAllException |
| 400 | RESTRICTED_AUTHENTICATED_VIEW_OPTIONS_REQUIRE_PERMISSIONS | RestrictedAuthenticatedViewOptionsRequirePermissionsException |
| 400 | RESTRICTED_LEVEL_SYSTEM_ONLY | RestrictedLevelSystemOnlyException |
| 400 | RESTRICTED_NORMALIZED_NAME | RestrictedNormalizedNameError |
| 400 | RESTRICTED_VIEW_CAN_NOT_BE_DEFAULT | RestrictedViewCanNotBeDefaultException |
| 400 | ROLE_MUST_BE_JOP_POSITION | RoleMustBeOfTypeJobPosition |
| 400 | SAVE_QUERY_NOT_ALLOWED | SaveQueryNotAllowedException |
| 400 | SELECTED_SPACES_SHOULD_NOT_HAVE_DUPLICATION | StoreSelectedSpacesDuplicationNotAllowedException |
| 400 | SENSITIVE_FIELD_CANNOT_BE_MAIN_TITLE | SensitiveFieldCannotBeMainTitleException |
| 400 | SENSITIVE_FIELD_NOT_ALLOWED | SensitiveFieldNotAllowedException |
| 400 | SENSITIVE_FIELD_QUERY_NOT_ALLOWED | SensitiveFieldQueryNotAllowedException |
| 400 | SENSITIVE_FIELD_WRITE_NOT_ALLOWED | SensitiveFieldWriteNotAllowedException |
| 400 | SERVICE_AUDIENCE_REQUIRED | ServiceAudienceIsRequired |
| 400 | SERVICE_CATEGORY_NOT_EXIST | ServiceCategoryNotExistException |
| 400 | SERVICE_CATEGORY_REQUIRED | ServiceCategoryRequiredException |
| 400 | SERVICE_ENTITY_NOT_ACTIVE | CanNotRequestServiceException |
| 400 | SINGLE_ROLE_ASSIGNED_MULTIPLE_TIMES | SingleRoleAssignedMultipleTimes |
| 400 | STEP_NOT_EXECUTED_BEFORE | StepNotExecutedBeforeException |
| 400 | STORE_WITH_SAME_WEIGHT_ALREADY_EXIST | StoreWithSameWeightExistsException |
| 400 | SUB_WORKFLOW_STEP_MUST_NOT_HAVE_ACTIONS | SubWorkflowStepActionsException |
| 400 | SYSTEM_BUTTON_CONFIRMATION_DIALOG_VARIABLES_NOT_ALLOWED_FOR_MULTI_SCOPE | ConfirmationDialogVariablesNotAllowedForMultiScopeException |
| 400 | TABLE_VIEW_CONFIG_NOT_FOUND | TableViewConfigNotFoundException |
| 400 | THIS_ROLE_CAN_ONLY_BE_ASSIGNED_ONE_ORG_UNIT | ThisRoleCanOnlyBeAssignedToOneOrgUnit |
| 400 | TIMELINE_ATTRIBUTE_MAPPING_NOT_MATCHING_ANY_CRITERIA | TimelineAttributeMappingNotMatchingAnyCriteriaException |
| 400 | TIMELINE_ATTRIBUTE_NOT_MATCH_POST_CATEGORY_ATTRIBUTES | TimelineAtrributeNotMatchPostCategoryAttributes |
| 400 | TIMELINE_CORE_ENTITY | TimelineCoreEntityExcecption |
| 400 | TIMELINE_DESCRIPTION_FIELD_INVALID | TimelineDescriptionFieldInvalidFieldTypeExcecption |
| 400 | TIMELINE_FIELD_NAME_NOT_EXIST | TimelineFieldNameNotExistException |
| 400 | TIMELINE_FIELD_VALUE_MUST_BE_DEFINED | TimelineFieldValueMustBeDefined |
| 400 | TIMELINE_FIELD_VALUE_MUST_BE_HIDDEN | TimelineFieldValueMustBeHidden |
| 400 | TIMELINE_MISSING_REQUIRED_FIELDS | TimelineMissingRequiredFieldsException |
| 400 | TIMELINE_PUBLISH_CONFIG_CONFLICT | TimelinePublishConfigConflictException |
| 400 | TIMELINE_PUBLISH_WORKFLOW_EMPTY_STEPS | TimelinePublishWorkflowEmptyStepsException |
| 400 | TIMELINE_PUBLISH_WORKFLOW_INIT_STEP | TimelinePublishWorkflowInitStepException |
| 400 | TIMELINE_PUBLISH_WORKFLOW_LAST_STEP | TimelinePublishWorkflowlastStepException |
| 400 | TIMELINE_PUBLISH_WORKFLOW_STEP_NOT_EXIST | TimelinePublishWorkflowStepNotExistException |
| 400 | TIMELINE_TITLE_FIELD_INVALID | TimelineTitleFieldInvalidFieldTypeExcecption |
| 400 | TO_ENABLE_CLICK_TO_BROWSE_MUST_ENABLE_VIEW_CONFIGURATIONS | ToEnableClickToBrowseMustEnableViewConfiguration |
| 400 | TRANSFORMATION_REQUIRED | TransformationModelRequiredException |
| 400 | TRIGGER_TIMER_OPTIONS_CONFLICT | TriggerTimerOptionsConflict |
| 400 | TRIGGERS_CAN_NOT_AUTOMATE_LAST_STEP | CanNotAutomateLastStepException |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW | TriggersLinkedToNonExistingWorkflow |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW_STEP | TriggerLinkedToNonExistingWorkflowStep |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW_STEP_ACTION | TriggerLinkedToNonExistingWorkflowStepAction |
| 400 | UNDEFINED_STEP_OWNER_THRESHOLD | UndefinedStepOwnerThresholdException |
| 400 | UNKNOWN_OPERATOR_ERROR | UnknownOperatorExpression |
| 400 | UNSUPPORTED_CONDITIONAL_INCREMENT_CALCULATION_METHOD | UnsupportedConditionalIncrementCalculationMethod |
| 400 | UNSUPPORTED_FIELD_EXPRESSION | UnsupportedFieldExpression |
| 400 | UPDATE_COLLECTION_NO_ITEMS | UpdateCollectionNoItemsException |
| 400 | UPDATE_DRAFT_ENTRY_NOT_ALLOWED | UpdateDraftEntryNotAllowedException |
| 400 | UPDATE_IMPLICIT_RESOURCE_RESTRICTION | UpdateImplicitResourcesException |
| 400 | UPDATED_ENTRY_EVENT_CONFIG_INVALID_FIELD | UpdatedEntryEventConfigInvalidFieldException |
| 400 | USER_ACCOUNT_TYPE | UserIsNotOrganizationAccount |
| 400 | USER_ALREADY_OWN_STEP | UserAlreadyOwnException |
| 400 | USER_COLLECTION_DELETE | UserCollectionsDeleteException |
| 400 | USER_COLLECTION_REPLACE | UserCollectionReplaceException |
| 400 | USER_COLLECTION_SAVE_NOT_ALLOWED | SaveUserCollectionNotAllowedException |
| 400 | USER_COLLECTION_UPDATE | UserCollectionsUpdateException |
| 400 | USER_GROUP_ALREADY_HAS_HIGHER_PERMISSION_LEVEL | UserGroupAlreadyHasHigherPermissionLevelException |
| 400 | USER_MUST_HAVE_VIEW_ACCESS_FIRST | UserMustHaveViewAccessFirstException |
| 400 | USER_TYPE_CHANGED | UserTypeCannotBeUpdated |
| 400 | VIEW_ALLOW_SAVED_QUERIES_CAN_NOT_BE_ENABLED | ViewAllowSavedQueriesCanNotBeEnabledException |
| 400 | VIEW_ALLOW_USER_COLLECTIONS_CAN_NOT_BE_ENABLED | ViewAllowUserCollectionsCanNotBeEnabledException |
| 400 | VIEW_CONFIGURATIONS_MUST_BE_ENABLED_WITH_FILTER_FIRST | ViewConfigurationMustBeEnabledWithFilterFirst |
| 400 | VIEW_CREATE_DRAFT_DATA_ENTRY_NOT_ALLOWED | ViewCreateDraftDataEntryNotAllowedException |
| 400 | VIEW_INVALID_PERMISSIONS | ViewInvalidPermissionsException |
| 400 | VIEW_MUST_BE_BASED_ON_QUERY_TO_ENABLE_OVERRIDE_SOURCE_FOR_STATISTIC_QUERY | ViewMustBeBasedOnQueryToEnableOverrideSourceForStatisticQuery |
| 400 | VIEW_NOT_PUBLISHED | ViewNotPublishedException |
| 400 | VIEW_URL_TOKEN_LENGTH | ViewUrlTokenLengthException |
| 400 | VIEW_URL_TOKEN_REQUIRED | ViewUrlTokenRequiredException |
| 400 | VIEW_URL_TOKEN_USED_BEFORE | ViewUrlTokenUsedBeforeException |
| 400 | VIEW_URLS_ITEMS_EMPTY | ViewUrlsItemsEmptyException |
| 400 | VIEW_USER_COLLECTIONS_CAN_NOT_BE_ENABLED | ViewUserCollectionsCanNotBeEnabledException |
| 400 | VIRTUAL_ENTITY_OPERATION | VirtualEntityNotAllowedOperation |
| 400 | VISIBILITY_CUSTOM_SETTINGS_ENABLED | VisibilityCustomSettingsEnabledException |
| 400 | WORKFLOW_CAN_NOT_MOVE | CanNotMoveFromLastStepException |
| 400 | WORKFLOW_CAN_NOT_RESET | CanNotResetStepException |
| 400 | WORKFLOW_CAN_NOT_RETURN | CanNotReturnStepException |
| 400 | WORKFLOW_NORMALIZED_NAME_DUPLICATE | WorkflowNormalizedNameDuplicateException |
| 400 | WORKFLOW_OWNER_COLLECTION_NOT_EXIST | WorkFlowOwnerCollectionNotFound |
| 400 | WORKFLOW_OWNER_GROUP_NOT_EXIST | WorkFlowOwnerGroupNotFound |
| 400 | WORKFLOW_RESET_REQUIRED | WorkflowResetRequired |
| 400 | WORKFLOW_STEP_NORMALIZED_NAME_DUPLICATE | WorkflowStepNormalizedNameDuplicateException |
| 400 | WRONG_DATA_TYPE | ValidationValueWrongTypeException |
| 401 | DASHBOARD_CONFIGURATION_NOT_ENABLED | DashboardConfigurationNotEnabledException |
| 401 | USER_NOT_AUTHENTICATED | UserNotAuthenticatedException Since 1.8 |
| 403 | ACCESS_OBJECT_NO_AUDIENCE | AccessObjectNoAudienceException Since 1.10 |
| 403 | ACCESS_REQUEST_FORBIDDEN | ForbiddenToAccessRequestException |
| 403 | ARCHIVED_ENTRY_NOT_ACCESSIBLE_THROUGH_VIEW | ArchivedEntryNotAccessibleThroughViewException |
| 403 | BATCH_CREATE_ENTRIES_QUICK_SAVE_NOT_ENABLED | BatchCreateEntiresQuickSaveNotEnabledException |
| 403 | BATCH_CREATE_ENTRIES_RELATION_NOT_ALLOWED | BatchCreateEntriesRelationNotAllowedException |
| 403 | CANNOT_EXPORT_ENTITY | ForbiddenToExportEntity |
| 403 | CANNOT_EXPORT_MODULE | ForbiddenToExportModule |
| 403 | COUNTER_VIEW_NOT_MATCHED | CounterViewNotMatchedWithMiddlewareException |
| 403 | EDIT_MODULE_DASHBOARD_NOT_ALLOWED | EditModuleDashboardNotAllowedException |
| 403 | ENTITY_CAP_EXCEEDED | EntityCapExceededException Since 1.10 |
| 403 | ENTITY_DASHBOARD_EDIT_NOT_ALLOWED | EntityDashboardEditNotAllowedException |
| 403 | ENTRY_CAP_EXCEEDED | EntryCapExceededException Since 1.10 |
| 403 | ENTRY_NOT_ACCESSIBLE_THROUGH_VIEW | EntryNotAccessibleThroughViewException |
| 403 | ENTRY_OPERATION_NOT_ALLOWED | EntryOperationNotAllowedException |
| 403 | ENTRY_READ_FORBIDDEN | ForbiddenToReadEntryException |
| 403 | INVALID_ENTRY_NOT_ACCESSIBLE_THROUGH_VIEW | InvalidEntryNotAccessibleThroughViewException |
| 403 | INVALID_REQUIREMENTS_ENTRY_NOT_ACCESSIBLE_THROUGH_VIEW | InvalidRequirementsEntryNotAccessibleThroughViewException |
| 403 | LICENSE_ADMIN_FEATURE_REQUIRED | LicenseAdminFeatureRequiredException |
| 403 | OBSOLETE_ENTRY_NOT_ACCESSIBLE_THROUGH_VIEW | ObsoleteEntryNotAccessibleThroughViewException |
| 403 | PERMISSION_GRANT_EXCEEDS_CALLER_ACCESS | PermissionGrantExceedsCallerAccessException Since 1.8 |
| 403 | RESOLVE_VALUE_PATH_NOT_STORED | ResolveValuePathNotStoredException Since 1.8 |
| 403 | SPACE_CAP_EXCEEDED | SpaceCapExceededException Since 1.10 |
| 403 | SYSTEM_BUTTON_IS_DISABLED | SystemButtonIsDisabled |
| 403 | SYSTEM_BUTTON_NOT_UI_CUSTOM_ACTION | SystemButtonNotUiCustomAction |
| 403 | SYSTEM_DASHBOARD_EDIT_NOT_ALLOWED | SystemDashboardEditNotAllowedException |
| 403 | VIEW_ACCESS_DENIED | ViewAccessNotAuthorizedException |
| 403 | VIEW_DASHBOARD_CONFIGURATION_NOT_ENABLED | ViewDashboardConfigurationNotEnabledException |
| 403 | WORKFOLOW_ADD_ADHOC | UserCannotAddAdhocException |
| 404 | ACCESS_OBJECT_NOT_EXIST | AccessObjectNotExistException |
| 404 | ACTION_NOT_EXIST | ActionNotExistException |
| 404 | BLOCK_NOT_EXIST | BlockNotExistException |
| 404 | CATEGORY_NOT_EXIST | CategoryNotExistException |
| 404 | COLLECTION_NOT_EXIST | CollectionNotExistValidationException |
| 404 | COUNTER_NOT_FOUND | CounterNotFoundException |
| 404 | DATA_COLLECTION_NOT_EXIST | DataCollectionNotFoundException |
| 404 | DATA_QUERY_NOT_EXIST | DataQueryNotFound |
| 404 | DATA_VIEW_NOT_EXIST | DataViewNotExistException |
| 404 | ENTITIES_NOT_EXIST | EntitiesNotExistException |
| 404 | ENTITY_DATA_SOURCE_NOT_EXIST | EntityDataSourcesNotExistsException |
| 404 | ENTITY_FIELD_NOT_EXIST | EntityFieldNotExistException |
| 404 | ENTITY_NOT_EXIST | EntityNotExistException |
| 404 | ENTITY_NOT_EXIST_VALIDATION | EntityNotExistValidationException |
| 404 | ENTITY_NOT_FOUND | DataSourceEntityNotExist |
| 404 | ENTITY_NOT_FOUND | EntitiesNotFound |
| 404 | ENTRIES_SOURCE_NOT_FOUND | EntriesSourceNotFoundException |
| 404 | ENTRY_NOT_EXIST | EntryNotExistException |
| 404 | FALLBACK_OWNER_REQUIRED | FallbackOwnerRequiredException |
| 404 | FIELD_SOURCE_NOT_FOUND | FieldSourceNotFoundException |
| 404 | FILTER_FIRST_CUSTOM_QUERY_NOT_FOUND | FilterFirstCustomQueryNotFoundException |
| 404 | GROUP_NOT_EXIST | GroupNotExistValidationException |
| 404 | INVALID_DASHBOARD_ID | InvalidDashboardId |
| 404 | INVALID_MERGE_STEP | MergeStepValidationException |
| 404 | INVALID_MODULE_ID | InvalidModuleId |
| 404 | ITEM_NOT_EXIST | DataNotExistException |
| 404 | JOB_STATUS_NOT_EXIST | JobStatusNotExistException |
| 404 | LOCKED_OBJECT_NOT_FOUND | LockedObjectNotFound |
| 404 | MERGE_STEP_ID_REQUIRED | MergeStepRequiredException |
| 404 | MODULE_NOT_EXIST | ModuleNotExistException |
| 404 | ORG_UNIT_NOT_EXIST | OrgUnitNotExistException |
| 404 | OWNER_NOT_EXIST | OwnerNotExistValidationException |
| 404 | QUERY_NOT_FOUND | DataSourceQueryNotExistValidationException (saves naming an unknown query) Since 1.10 |
| 404 | RELATION_NOT_EXIST | RelationNotExistException |
| 404 | STATISTIC_QUERY_NOT_EXIST | StatisticQueryNotFoundException |
| 404 | SUB_WORKFLOW_ID_NOT_FOUND | SubWorkflowIdNotFoundException |
| 404 | SUB_WORKFLOW_ID_REQUIRED | SubWorkflowIdRequiredException |
| 404 | SYSTEM_BUTTON_NOT_EXIST | SystemButtonNotFound |
| 404 | TAG_GROUP_NOT_FOUND | TagGroupNotFoundException |
| 404 | TEMPLATE_NOT_EXIST | TemplateNotExists |
| 404 | TRIGGER_NOT_EXIST | TriggerNotExistException |
| 404 | USER_NOT_EXIST | UserNotExistException |
| 404 | WORKFLOW_ACTION_NOT_EXIST | WorkFlowActionNotExistException |
| 404 | WORKFLOW_NOT_EXIST | WorkFlowNotExistException |
| 404 | WORKFLOW_STEP_NOT_EXIST | WorkflowStepNotExistException |
| 409 | LOCKED_OBJECT | LockedObjectException |
| 409 | LOCKED_OBJECT_ALREADY_OWNED | LockedObjectAlreadyOwned |
| 409 | NOT_ALLOWED_TO_LOCK_OBJECT | NotAllowedToLockObject |
| 409 | UPDATE_CONFLICT | UpdateIdentifierConflictException |
| 422 | CURRENT_STEP_ALREADY_OWNED | CurrentStepAlreadyOwnedException Since 1.8 |
| 422 | ENTITY_ARCHIVE | EntityArchiveException (was 500) Since 1.10 |
| 422 | ENTRY_HAS_INCOMING_REFERENCES | EntryHasIncomingReferencesException |
| 422 | ENTRY_NOT_ARCHIVED | EntryNotArchivedException |
| 422 | ENTRY_NOT_ARCHIVED_FOR_DELETION | EntryNotArchivedForDeletionException |
| 422 | ENTRY_NOT_OBSOLETE | EntryNotObsoleteException |
| 422 | OBSOLETED_ENTRY | ObsoleteEntryException |
| 422 | PERMANENT_DELETE_BATCH_LIMIT_EXCEEDED | PermanentDeleteBatchLimitExceededException |
| 422 | REPORT_PERMISSION_NOT_SELECTED | ReportPermissionsNotSelectedException |
| 422 | SYSTEM_SETTINGS_DUPLICATE_PHONE_NUMBER | SystemSettingsDuplicatePhoneNumberException Since 1.10 |
| 422 | SYSTEM_SETTINGS_FIELD_NOT_SECRET | SystemSettingsFieldNotSecretException Since 1.10 |
| 422 | SYSTEM_SETTINGS_SPACE_MISMATCH | SystemSettingsSpaceMismatchException Since 1.10 |
| 422 | SYSTEM_SETTINGS_TENANT_DEFAULT_ARCHIVE | SystemSettingsTenantDefaultArchiveException Since 1.10 |
| 422 | VALIDATION_FAILED | InvalidEnumValue |
| 422 | WORKFLOW_ACTION_EXECUTION_NOT_ALLOWED | WorkFlowActionExecutionNotAllowed (was 500) Since 1.8 |
| 500 | ACTION_DUPLICATE | ActionDuplicateException |
| 500 | ACTION_NOT_ALLOWED | ActionNotAllowed |
| 500 | CHANGE_MODE_NOT_IMPLEMENTED | ChangeModeNotImplementedException |
| 500 | CIRCULAR_DEPENDENCY_DETECTED | CircularDependencyException |
| 500 | DASHBOARD_ACCESS_NOT_ALLOWED | DashboardAccessNotAllowedException |
| 500 | DASHBOARD_STATISTIC_QUERY_NOT_IN_MODULE | DashboardStatisticQueryNotInModule |
| 500 | DATA_COLLECTION_DUPLICATE | DataCollectionDuplicateException |
| 500 | DATA_COLLECTION_NORMALIZED_NAME_DUPLICATE | DataCollectionNormalizedNameDuplicateException |
| 500 | DATA_MODULE_ICON_REQUIRED | DataModuleIconIsRequired |
| 500 | DATA_QUERY_NORMALIZED_NAME_DUPLICATE | DataQueryNormalizedNameDuplicateException |
| 500 | DATA_QUERY_NOT_BELONG_TO_ENTITY | DataQueryNotBelongToEntity |
| 500 | DATA_RELATION_NORMALIZED_NAME_DUPLICATE | DataRelationNormalizedNameDuplicateException |
| 500 | DATA_SOURCE_STORE_REQUIRED | DataSourceStoreRequireException |
| 500 | DATA_TYPE_NOT_SUPPORTED | DataTypeNotSupportedException |
| 500 | DATA_VIEW_AFTER_SAVE_NOT_FOUND | DataViewAfterSaveNotFoundException |
| 500 | DATA_VIEW_AFTER_SAVE_URL_EMPTY | DataViewAfterSaveUrlEmptyException |
| 500 | DATA_VIEW_AFTER_SAVE_URL_HTTP_METHOD_REQUIRED | DataViewAfterSaveUrlHttpMethodRequiredException |
| 500 | DATA_VIEW_EDIT_CONFIGURATION_NOT_SUPPORTED_FOR_VIRTUAL_AGGREGATOR_ENTITY | DataViewEditConfigurationNotSupportedForVirtualAggregatorEntity |
| 500 | DATA_VIEW_EDIT_CONFIGURATION_NOT_SUPPORTED_FOR_VIRTUAL_PROXY_ENTITY | DataViewEditConfigurationNotSupportedForVirtualProxyEntity |
| 500 | DATA_VIEW_INVALID_ENTITY_ID | ViewNotBelongToEntity |
| 500 | DATA_VIEW_NORMALIZED_NAME_DUPLICATE | DataViewNormalizedNameDuplicateException |
| 500 | DATA_VIEW_SAVE_MESSAGE | DataViewAfterSaveMessageEmptyExcpetion |
| 500 | DUPLICATE_ITEM | DuplicateItemException |
| 500 | ENTITY_ARCHIVED | EntityArchivedException |
| 500 | ENTITY_BELONG_TO_MODULE | EntityBelongToModule |
| 500 | ENTITY_BLOCK_OPTIONS_NOT_SUPPORTED | EntityBlockOptionsException |
| 500 | ENTITY_DUPLICATE | EntityDuplicateException |
| 500 | ENTITY_FIELD_DUPLICATE | EntityFieldDuplicateException |
| 500 | ENTITY_FIELD_NOT_CATEGORY | EntityFieldNotCategoryFieldException |
| 500 | ENTITY_FIELD_NOT_REFERENCE | EntityFieldNotReferenceFieldException |
| 500 | ENTITY_FIELD_OPTIONS_ERROR | EntityFieldOptionsException |
| 500 | ENTRIES_SOURCE_NOT_BELONG_TO_SOURCE | EntriesSourceNotBelongToSourceException |
| 500 | ENTRY_ARCHIVED | EntryArchivedException |
| 500 | ENTRY_NOT_ACTIVATE | EntryNotActiveException |
| 500 | ENTRY_NOT_IN_WORKFLOW | EntryNotInWorkflow |
| 500 | EXPORT_ENTRIES_ERROR | DataExportException |
| 500 | EXPORT_ENTRIES_ERROR | ExportEntriesErrorException |
| 500 | EXPRESSION_INVALID_RETURN_TYPE | ExpressionExecutionReturnedInvalidTypeException |
| 500 | EXTRA_ENTRY_VALUE | ExtraEntryValueException |
| 500 | FALLBACK_OWNER_LAST_ITEM_OWNER_TYPE | FallbackOwnerLastItemOwnerTypeException |
| 500 | FIELD_SOURCE_REQUIRED | FieldSourceRequiredException |
| 500 | FILE_KIND_NOT_SUPPORTED | UnsupportedImportFileKindException |
| 500 | FILE_NOT_FOUND | FileNotFoundException |
| 500 | IMPORT_FILE_IS_INVALID | InvalidImportFileException |
| 500 | INVALID_CURRENT_WF_COLLECTION_OWNER | InvalidWorkflowOwnerCollection |
| 500 | INVALID_CURRENT_WF_GROUP_OWNER | InvalidWorkflowOwnerGroup |
| 500 | INVALID_CURRENT_WF_ORG_UNIT_OWNER | InvalidWorkflowOwnerOrgunit |
| 500 | INVALID_CURRENT_WF_OWNER | InvalidWorkflowOwner |
| 500 | INVALID_DASHBOARD | DashboardValidationException |
| 500 | INVALID_DASHBOARD_GROUP_ID | InvalidDashboardGroup |
| 500 | INVALID_DATA_SOURCE_ACTION | DataSourceActionNotSupported |
| 500 | INVALID_ELEMENT_ID | InvalidElementID |
| 500 | INVALID_ENTRY_STEP_TYPE | InvalidEntryStepTypeException |
| 500 | INVALID_EXIT_STEP_TYPE | InvalidExitStepException |
| 500 | INVALID_ID | InvalidIdException |
| 500 | INVALID_ITEM | InvalidItemException |
| 500 | INVALID_ITEM_VALUE | InvalidItemValueException |
| 500 | INVALID_PROPERTY_VALUE | InvalidPropertyValueException |
| 500 | INVALID_QUERY_CRITERIA | QueryCriteriaNotSupported |
| 500 | INVALID_STEP_OWNER_TYPE_DATA_COLLECTION | InvalidStepOwnerTypeDataCollectionException |
| 500 | INVALID_STEP_OWNER_TYPE_GROUP | InvalidStepOwnerTypeGroupException |
| 500 | INVALID_STEP_OWNER_TYPE_USER | InvalidStepOwnerTypeUserException |
| 500 | INVALID_STRING_ITEMS | InvalidStringItemsException |
| 500 | INVALID_TREE | InvalidTreeException |
| 500 | INVALID_TREE_NODE | InvalidTreeNodeException |
| 500 | INVALID_TREE_NODE_PARENT | InvalidTreeNodeParentException |
| 500 | INVALID_TREE_NODE_VALUE | InvalidTreeNodeValueException |
| 500 | INVALID_VIEW_DEFINITION | DataViewExcpetion |
| 500 | INVALID_WORKFLOW | InvalidWorkFlowException |
| 500 | INVALID_WORKFLOW_OWNER_SOURCE | InvalidWorkflowOwnerSourceExption |
| 500 | IS_DEFAULT_DUPLICATE | DataViewIsDefaultException |
| 500 | MISSING_PROPERTY | MissingPropertyException |
| 500 | MISSING_REQUIRED_STEPS | MissingStepsException |
| 500 | MODULE_DUPLICATE | ModuleDuplicateException |
| 500 | MODULE_IS_IMPLICIT | ImplicitModuleException |
| 500 | NOT_SUPPORTED | DataNotSupportedException |
| 500 | PERMISSION_SCOPE_NOT_SUPPORTED | PermissionScopeNotSupportedException |
| 500 | PREVIOUS_OWNER_STEP_IS_EXIT_STEP | PreviousOwnerStepIsExitStepException |
| 500 | PREVIOUS_STEP_NOT_FOUND | PreviousStepNotFoundException |
| 500 | QUERY_EXPRESSION_ERROR | ExpressionExecutionException |
| 500 | QUERY_NOT_FOUND | DataSourceQueryNotExist (reads of a stored reference) |
| 500 | REDIRECT_TO_ENTRY_ACTION_MUST_ENABLE_SHOW_ENTRY | DataViewAfterSaveRedirectToEntryViewActionMustEnableEntriesConfiguration |
| 500 | RELATIVE_OPTIONS_INVALID_STEP_OWNER_TYPE | RelativeOptionsOwnerTypeException |
| 500 | RELATIVE_STEP_NOT_EXECUTED | RelativeStepNotExecuted |
| 500 | REQUIRED_FIELD | DataSourceQueryRequireException |
| 500 | STORE_NOT_FOUND | DataSourceStoreNotExist |
| 500 | TRIGGER_DUPLICATE | TriggerDuplicateException |
| 500 | UNDEFINED_ITEM | UndefinedObject |
| 500 | UNDEFINED_NEXT_WORKFLOW_STEP_ACTION | UndefinedNextWorkFlowStepActionException |
| 500 | UNDEFINED_WORKFLOW | UndefinedWorkFlowException |
| 500 | UNDEFINED_WORKFLOW_ACTION | UndefinedWorkFlowActionException |
| 500 | UNDEFINED_WORKFLOW_ACTION_TARGET_STEPS | UndefinedWorkFlowActionTargetStepsException |
| 500 | UNDEFINED_WORKFLOW_STEP_ACTIONS | UndefinedWorkFlowStepActionsException |
| 500 | UNDEFINED_WORKFLOW_STEPS | UndefinedWorkFlowStepsException |
| 500 | VIEW_MUST_BE_DRAFT_FIRST_CREATION | DataViewFirstPublishException |
| 500 | WF_CAN_NOT_CHANGE_OWNER | CanNotChangeOwnerException |
| 500 | WORKFLOW_ACTION_COMMENT_REQUIRED | WorkFlowActionCommentRequired |
| 500 | WORKFLOW_STEP_CAN_NOT_MOVE | CanNotMoveStepException |
| 501 | BACKUP_NOT_SUPPORTED_IN_SINGLE_MODE | BackupNotSupportedException Since 1.10 |
| 503 | BACKUP_SERVICE_UNAVAILABLE | BackupApiException (retryable; the facade also relays the backup engine’s own codes with their status) Since 1.10 |
| 503 | STORAGE_SERVICE_UNAVAILABLE | StorageServiceUnavailableException (retryable; also on saves that add a file Since 1.10) |
Automation — reaction-service
Section titled “Automation — reaction-service”51 typed classes. The EXECUTE_CUSTOM_ACTION_INVALID_CONFIGS and EXECUTE_CUSTOM_ACTION_INCOMPATIBLE_TARGET validation codes belong to the Execute Custom Action reaction (Since 1.8). Several codes shared with the data service carry a different status here (ENTITY_FIELD_NOT_EXIST, ORG_UNIT_NOT_EXIST, STORE_NOT_FOUND are 500 in this service).
| Status | error.code | Originating exception class |
|---|---|---|
| 400 | BLOCK_FIELD_NOT_EXIST | BlockFieldNotFoundException |
| 400 | COLLECTION_NOT_EXIST | CollectionNotExistValidationException |
| 400 | CUSTOM_EVENT_INVALID_CONFIGS | CustomEventInvalidConfigsException |
| 400 | ENTRIES_CONFIGURATIONS_MUST_BE_ENABLED | EntriesConfigurationMustBeEnabled |
| 400 | ENTRY_NOT_IN_WORKFLOW | EntryNotInWorkflowException |
| 400 | EXECUTE_CUSTOM_ACTION_INCOMPATIBLE_TARGET | ExecuteCustomActionIncompatibleTargetException |
| 400 | EXECUTE_CUSTOM_ACTION_INVALID_CONFIGS | ExecuteCustomActionInvalidConfigsException |
| 400 | FIELD_NOT_REPEATABLE | BlockFieldNotRepeatableException |
| 400 | FILE_EXPIRED | FileExpiredException Since 1.10 |
| 400 | GROUP_NOT_EXIST | GroupNotExistValidationException |
| 400 | IMPLICIT_CREATE_RESTRICTION | ImplicitReactionCreateException |
| 400 | IMPLICIT_DELETE_RESTRICTION | ImplicitReactionDeleteException |
| 400 | IMPLICIT_UPDATE_RESTRICTION | ImplicitReactionUpdateException |
| 400 | INVALID_FIELDS_SOURCE | FieldSourceWrongTypeException |
| 400 | INVALID_QUERY_EXPRESSION | DataQueryExpressionValueNotStringException |
| 400 | INVALID_QUERY_EXPRESSION_TYPE | DataQueryExpressionTypeValidationException |
| 400 | INVALID_TOKENS_MAP | InvalidTokensMapException |
| 400 | MUST_AUTOMATE_AT_LEAST_ONE_STEP | MustAutomateAtLeastOneStepException |
| 400 | QUERY_ENGINE_EXPRESSION_ERROR | ExpressionParsingException |
| 400 | RESERVED_HEADER_NAME | ReservedHeaderNameException Since 1.10 |
| 400 | TRIGGER_TIMER_OPTIONS_CONFLICT | TriggerTimerOptionsConflict |
| 400 | TRIGGERS_CAN_NOT_AUTOMATE_LAST_STEP | CanNotAutomateLastStepException |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW | TriggersLinkedToNonExistingWorkflow |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW_STEP | TriggerLinkedToNonExistingWorkflowStep |
| 400 | TRIGGERS_LINKED_TO_NON_EXISTING_WORKFLOW_STEP_ACTION | TriggerLinkedToNonExistingWorkflowStepAction |
| 400 | UNKNOWN_OPERATOR_ERROR | UnknownOperatorExpression |
| 400 | UNSUPPORTED_FIELD_ERROR | UnsupportedFieldExpression |
| 400 | UPDATE_BLOCK_ITEM_ACTION_ON_FAILURE | UpdateBlockItemActionOnFailureException |
| 400 | UPDATE_ENTRY_MODE_NOT_SUPPORTED | InvalidUpdateEntryModeException |
| 400 | UPDATED_ENTRY_EVENT_CONFIG_INVALID_FIELD | UpdatedEntryEventConfigInvalidFieldException |
| 400 | VIEW_NOT_PUBLISHED | ViewNotPublishedException |
| 403 | REACTION_AUTHORING_FORBIDDEN | ReactionAuthoringForbiddenException Since 1.8 |
| 404 | ENTITY_NOT_EXIST | EntityNotExistException |
| 404 | EVENT_SCHEMA_NOT_FOUND | EventSchemaNotFoundException |
| 404 | INTERNAL_ENTITY_NOT_FOUND | InternalEntityNotFoundException |
| 404 | REACTION_NOT_FOUND | ReactionNotFoundException |
| 404 | REACTION_SCHEMA_NOT_FOUND | ReactionSchemaFoundException |
| 404 | REFERENCE_FIELD_NOT_EXIST | ReferenceFieldNotFoundException |
| 404 | TRIGGER_CONTEXT_ENTITY_NOT_FOUND | TriggerContextEntityNotFoundException |
| 404 | WORKFLOW_ACTION_NOT_EXIST | WorkFlowActionNotExistException |
| 404 | WORKFLOW_NOT_EXIST | WorkFlowNotExistException |
| 404 | WORKFLOW_STEP_NOT_EXIST | WorkflowStepNotExistException |
| 409 | ANNOUNCEMENT_NAME_ALREADY_EXISTS | AnnouncementNameAlreadyExistsException |
| 409 | REACTION_NORMALIZED_NAME_DUPLICATE | ReactionNormalizedNameDuplicateException |
| 409 | UPDATE_CONFLICT | UpdateIdentifierConflictException |
| 409 | whatsapp_not_configured | WhatsAppNotConfiguredException Since 1.10 |
| 422 | VALIDATION_FAILED | InvalidEnumValue |
| 500 | DATA_NOT_SUPPORTED | DataNotSupportedException |
| 500 | ENTITY_ARCHIVED | EntityArchivedException |
| 500 | ENTITY_FIELD_NOT_EXIST | EntityFieldNotExistException |
| 500 | EXPRESSION_INVALID_RETURN_TYPE | ExpressionExecutionReturnedInvalidTypeException |
| 500 | FIELD_SOURCE_NOT_FOUND | FieldSourceNotFoundException |
| 500 | ORG_UNIT_NOT_EXIST | OrgUnitNotExistException |
| 500 | QUERY_EXPRESSION_ERROR | ExpressionExecutionException |
| 500 | STORE_NOT_FOUND | DataSourceStoreNotExist |
| 502 | whatsapp_provider_error | WhatsAppProviderException Since 1.10 |
| 503 | STORAGE_SERVICE_UNAVAILABLE | StorageServiceUnavailableException (retryable) Since 1.10 |
The smaller services
Section titled “The smaller services”The workflow, comments, timeline, notification and audit services each define a handful of typed classes on the same family pattern. The functions, logging and integrations services define only the generic families — their errors arrive as framework errors or with inline codes. The audit service is not routed at the gateway (api-gateway/config/kong.yml lists no audit route); its errors surface only relayed through other services.
workflow-service:
| Status | error.code | Originating exception class |
|---|---|---|
| 400 | WORKFLOW_BULK_EXECUTION_NOT_ALLOWED | WorkflowStepsNotSameException |
| 400 | WORKFLOW_STEP_OWNER_CHANGE_TYPE_NOT_SUPPORTED | WorkflowStepOwnerChangeTypeNotSupported |
| 403 | FORBIDDEN_WORKFLOW_ADMIN_ACTION | ForbiddenWorkflowAdminActionException |
| 404 | DATA_ENTITY_NOT_EXIST | DataEntityNotExistException |
| 404 | DATA_VIEW_NOT_EXIST | DataViewNotExistException |
| 404 | EVENT_SCHEMA_NOT_FOUND | EventSchemaNotFoundException |
| 500 | EXPRESSION_INVALID_RETURN_TYPE | ExpressionExecutionReturnedInvalidTypeException |
| 500 | ITEM_ARCHIVED | EntityArchivedException |
| 500 | QUERY_EXPRESSION_ERROR | ExpressionExecutionException |
| 500 | REACTION_SCHEMA_NOT_FOUND | ReactionSchemaFoundException |
| 500 | UNDEFINED_ITEM | UndefinedWorkFlowException |
comments-service:
| Status | error.code | Originating exception class |
|---|---|---|
| 400 | COMMENT_ATTACHMENTS_EXTENSION_NOT_ALLOWED | CommentAttachmentExtensionNotAllowed |
| 400 | COMMENT_ATTACHMENTS_NOT_ALLOWED | CommentAttachmentNotAllowed |
| 400 | COMMENT_ATTACHMENTS_SIZE_NOT_ALLOWED | CommentAttachmentSizeIsNotAllowed |
| 400 | COMMENT_TEXT_NOT_ALLOWED | CommentTextNotAllowed |
| 404 | DATA_ENTITY_NOT_EXIST | DataEntityNotExistException |
| 404 | DATA_VIEW_NOT_EXIST | DataViewNotExistException |
| 500 | COMMENT_NOT_FOUND | CommentNotFound |
| 500 | COMMENT_UPDATE_NOT_ALLOWED | CommentUpdateNotAllowed |
| 500 | INVALID_COMMENT_AUDIENCE | InvalidCommentAudience |
timeline-service:
| Status | error.code | Originating exception class |
|---|---|---|
| 400 | INVALID_PUBLISH_DATE | InvalidPublishDateException |
| 400 | INVALID_UNPUBLISH_DATE | InvalidUnpublishDateException |
| 400 | POST_MANUAL_PIN_SAME_PIN_STATE | DuplicatePinnedStatusPostException |
| 400 | POST_MANUAL_PUBLISH_IS_NOT_ALLOWED | PublishNotAllowedException |
| 400 | POST_MANUAL_UNPUBLISH_IS_NOT_ALLOWED | UnpublishNotAllowedException |
| 400 | TIMELINE_PUBLISH_DATE_CONFLICT | TimelinePublishDateConflictException |
| 400 | UNABLE_PINNED_MANUALLY | UnablePinnedPostManuallyException |
| 400 | UNABLE_SCHEDULING_ACTION | UnableScheduleManualPublishUnpublishPostException |
| 400 | UNABLE_UNPINNED_MANUALLY | UnableUnPinnedManuallyPostException |
| 404 | DATA_VIEW_NOT_EXIST | DataViewNotExistException |
notification-api (note: the constant NOTIFICATION_MARK_AS_READ_EXCEPTION emits the wire value NOTIFICATION_MARK_AS_READ_ERROR):
| Status | error.code | Originating exception class |
|---|---|---|
| 500 | NOTIFICATION_MARK_AS_READ_ERROR | MarkAsReadRequestEmptyException |
| 500 | NOTIFICATION_TEMPLATE_NOT_EXIST | NotificationTemplateNotExist |
audit-service:
| Status | error.code | Originating exception class |
|---|---|---|
| 404 | DATA_ENTITY_NOT_EXIST | DataEntityNotExistException |
| 404 | DATA_VIEW_NOT_EXIST | DataViewNotExistException |
| 500 | ITEM_ARCHIVED | EntityArchivedException |
Packaging and dependency
Section titled “Packaging and dependency”packaging-service and dependency-service define no typed platform exceptions (their error dictionaries are empty). They throw framework HttpErrors directly from their controllers, so error.code is usually a framework class name (BadRequestError, ForbiddenError, NotFoundError, ConflictError, PayloadTooLargeError) and the human-readable explanation is the message string in result. The marketplace and store routes are the exception: they attach their own codes to the framework error (for example 422 PUBLISHER_NAME_INVALID, 502 MARKETPLACE_REFUSED), documented on the packaging pages. Since 1.10 a package install that would pass the tenant’s entries limit is refused up front with 403 ENTRY_CAP_EXCEEDED. Treat that string as diagnostic display text; branch on the status plus the endpoint you called:
| Status | Service | Situation |
|---|---|---|
| 400 | both | Invalid parameters: an empty search string, an out-of-range limit (dependency search caps it at 1000), a malformed override payload, an invalid value-reference merge. |
| 403 | packaging | An export/import session polled from a different space than the one that owns it. |
| 404 | both | Unknown session, mapping profile, or rebuild job id. |
| 409 | packaging | The import-session state machine: executing a session that is not validated, retrying one that is not completed/failed, or a session modified concurrently. |
| 409 | dependency | A full rebuild is already in progress — the message names the in-flight job id to poll instead. |
| 413 | packaging | An import payload override exceeds the configured byte ceiling. |
The packaging and dependency 409s are the one place where a retry after following the message’s own instruction is designed in: re-read the session or job status, then act on the state you find.
Authentication and step-up — users-service
Section titled “Authentication and step-up — users-service”Token, OIDC and account endpoints fail with standard OAuth 2.0 error objects — invalid_grant, invalid_client and friends, per the oidc-provider library — so handle them with an OAuth client library, not with envelope logic. See Token lifecycle.
The step-up unmask endpoints for sensitive fields (Since 1.8) return { "error": "<CODE>" } with an explicit per-code status map:
| Status | Code | When | Retry? |
|---|---|---|---|
| 400 | INVALID_DURATION | The requested unmask duration is not one of the allowed values. | No |
| 400 | MFA_NO_METHOD | The account has no usable MFA method. | No |
| 400 | USER_NOT_FOUND | The account could not be resolved. | No |
| 400 | NO_PENDING_CHALLENGE | Verify was called with no challenge outstanding. | No |
| 403 | EXTERNAL_USER_FORBIDDEN | External users may not open step-up sessions. | No |
| 429 | MFA_RATE_LIMITED | Too many challenge attempts. | Back off, then yes |
| 503 | STEP_UP_UNAVAILABLE | The unmask session store is unreachable — availability, not a client mistake. | Back off, then yes |
| 500 | INTERNAL | Unexpected failure. | Report |
The retry policy
Section titled “The retry policy”OSOS barely marks anything as retryable on the wire — the retryable flag is set only on a few 503s — and, as shown above, most 500s are deterministic domain failures. So the policy has to be written client-side, from status and code. This is the policy the catalogue supports.
What to retry, by status
Section titled “What to retry, by status”| Status | Policy |
|---|---|
400, 403, 404, 415, 422 | Never retry unchanged. The request, the credential’s permissions, or the target is wrong; retrying reproduces the failure exactly. Two 400s are fixed by redoing an earlier step rather than the request itself: FILE_EXPIRED (upload the file again) and CONFIRMATION_INVALID on a restore (ask for a new preview). |
401 | Refresh once, retry once. An expired token is the normal cause; run the refresh flow, then retry once. A second 401 means the credential is revoked or the API token invalid — stop and escalate. |
409 | Re-synchronize, then re-attempt deliberately. UPDATE_CONFLICT: re-fetch the entry and re-apply your change. Locks: wait for the holder. Packaging sessions and dependency rebuilds: poll the state or job the message names, then act on what you find. Never blind-retry a 409 on a timer. |
429 | Back off and slow down. The gateway allows 100 requests/second and 10,000 requests/hour per service, counted across all callers of that service (limit_by: service, api-gateway/config/kong.yml) — so a 429 can be caused by aggregate load, not just your client. Honour a Retry-After header when one is present. A sustained bulk job that must stay inside the hourly window should pace itself to roughly 2–3 requests per second per service. The backup API’s 429s are daily quotas, not load: their Retry-After runs to the quota’s reset, so do not retry sooner Since 1.10. |
500 | Retry only infrastructure-shaped codes. The gateway 500s in the catalogue (REDIS_ERROR, the *_REQUEST_FAILED group, …) merit up to two spaced retries. A platform 500 carrying a catalogued code is deterministic — do not retry; report it. A 500 with a JS-class-name code (TypeError) is a server bug — report it with its traceId. |
502, 503, 504 | Transient by nature — a service is restarting or unreachable. Retry with full backoff. STEP_UP_UNAVAILABLE and STORAGE_SERVICE_UNAVAILABLE (503) are explicitly this category. Since 1.10 TENANT_IN_MAINTENANCE (503) is too, but wait at least its Retry-After — a restore can take a while, and the same refusal repeats until it ends. |
Network-level failures deserve the same split the platform applies internally — the classification is written into its own bus-retry logic: a connection that failed before the request was sent — refused, reset, DNS — never reached the server and is always safe to retry. A timeout after sending is not: the operation may have completed. For reads, retry freely. For writes, reconcile first — query for the entry you tried to create before re-creating it, or re-fetch the updateIdentifier before re-updating — and for bulk writes use the per-row result DTOs to resubmit only the rows that actually failed (Writing data).
Backoff shape
Section titled “Backoff shape”Exponential with full jitter, the standard shape:
delay = random(0, min(cap, base × 2^attempt))base = 1s cap = 60s max attempts = 5- Apply it to
429,502/503/504, pre-send network failures, and the two-attempt infrastructure-500case. - When a
Retry-Afterheader is present (rate limiting, tenant maintenance, the backup API), treat it as a floor under the computed delay. 401gets exactly one retry after a refresh — no backoff loop.409is event-driven, not timer-driven: the “delay” is however long the re-read or the lock release takes.- Cap concurrency as well as rate: the per-service limits are shared, so ten workers backing off in sync can re-trip the limit together. The jitter is what prevents that.
When to stop and escalate
Section titled “When to stop and escalate”Stop retrying and open a report when any of these holds:
- The attempt budget is exhausted and the same status persists.
- A
500carries a catalogued (deterministic) code, or any JS-class-name code. - A
401survives a successful token refresh. UNIQUE_VALUEappears for a value your system believes is unique — the conflict is real data, not a transient.- A
403appears on an operation that previously worked with the same credential — a permission or view configuration changed server-side; see The security boundary for what is enforced where.
Using traceId with support
Section titled “Using traceId with support”Every request through the gateway carries a correlation id in the X-CORRELATION-ID header. The gateway’s osos-correlation-id plugin keeps a client-supplied value and only generates a UUID when the header is absent — and it echoes the id back on the response (echo_downstream: true in api-gateway/config/kong.yml). Downstream, every platform service reads the header case-insensitively and stamps it into error.traceId.
Use that deliberately:
- Send your own id. Generate a UUID per logical operation and send it as
X-CORRELATION-ID; your logs and the platform’s then share a join key you chose — even for requests that never produced an error body. - Log
error.traceIdon every failure, together with the full error body, the HTTP status, the method and path (never the credential), the tenant host, and a UTC timestamp. That tuple is what support needs to find the request in the platform’s logs. - A
traceIdofNO-TRACE-IDis the services’ fallback sentinel for a request that arrived without the header — if you see it, the request did not travel the normal gateway path. The one exception is503 TENANT_IN_MAINTENANCE, whose body is written directly by the tenant gate and always carriesNO-TRACE-ID. - If the error carries
serviceName, it names the producer:"API Gateway"for edge rejections, a service name for relayed platform errors. Its absence means the error was produced by the service that answered you.
With the catalogue and the policy above, an error handler needs only three inputs — the status, error.code and traceId — and every one of them is stable, machine-readable and traceable end to end.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27