Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A additional and optional node called subCode can be used to further quantify the error where there might be ambiguity. This sub-code is of a type string. If the error is of type INFRASTRUCTURE then these sub-codes are defined as part of the SIF Infrastructure. However, if the error type is DATA then it is up to the locale to define what valid sub-codes are and how they are intended to be used in either use-cases or data validations.

Sub-Error Codes Infrastructure

The list below defines some sub-error codes that should be used when further error details are provided in context of infrastructure issues. This list is not definite and will grow over time as functionality and or clarity is added to various areas of the SIF Infrastructure specification. It is important to note that the list below mostly applies for error types of INFRASTRUCTURE or concepts specified by the SIF infrastructure, if not specifically listed otherwise. Data model use-cases may have their own sub-error code lists and these will be specified in each locale’s Data Model specification rather than in the infrastructure specification.

Sub-Code

Type

Meaning

Potential usage

400-01

INFRASTRUCTURE & DATA

 Schema validation error.

400-02

DATA

Unsupported query.

400-03

DATA

Unsupported order clause.

400-04

INFRASTRUCTURE

Request must be made asynchronously.

400-04

INFRASTRUCTURE

Request must be made synchronously.

409-01

INFRASTRUCTURE & DATA

Request to create an object that already exists.

An attempt was made by a consumer to create an environment but it already exist.

409-02

INFRASTRUCTURE & DATA

The ‘zoneId’ has been provided as a matrix parameter and HTTP header.

For more details refer to https://a4ldocumentation.atlassian.net/wiki/spaces/ARCHITECTU/pages/56000561/SIF+Zone#Conveying-Zone

409-03

INFRASTRUCTURE & DATA

The ‘contextId’ has been provided as a matrix parameter and HTTP header.

For more details refer to https://a4ldocumentation.atlassian.net/wiki/spaces/ARCHITECTU/pages/55967770/SIF+Context#Conveying-Context

410-01

INFRASTRUCTURE & DATA

The ‘changesSinceMarker’ has expired.

For details refer to https://a4ldocumentation.atlassian.net/wiki/spaces/ARCHITECTU/pages/88244227/Changes+Since+Functionality#Expired-%E2%80%9CChanges-Since%E2%80%9D-marker

410-02

DATA

The ‘dataPrivacyMarker’ has expired.

Assumptions & Constraints

...