Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Structure and identification codes of errors that can be thrown during different validation processes.

Table of Contents

Error Structure

The errors are JSON structures with the following parameters:

ParameterDescription
httpStatusCodeThree-digit Integer specifying the type of error.
serviceErrorCodeFour-digit Integer specifying the concrete error.
timeTimestamp of the error occurance in format "yyyy-MM-ddTHH:mm:ss.SSS".
messageString message describing the concrete error.
stackTraceOrigin of the error.
serviceThe name of the service that throwed the error.
tenantThe string tenant name where the error occured.
Example error structure.
{
    "httpStatusCode" : 409,
    "serviceErrorCode" : 2800,
    "time" : "2021-04-21T04:36:30.813",
    "message" : "A non-empty folder cannot be deleted.",
    "stackTrace" : [ "com.os.enaio.cloud.gateway.resource.api.DmsController.deleteDmsObject(DmsController.java:719)" ],
    "service" : "api",
    "tenant" : "default"
}


Error Codes and Messages

The table provides an overview of errors that might occur during the listed validation processes.

Note: In case you want to catch errors and analyse their content, please use the serviceErrorCode as unique identification of the error. Please do NOT use the message since we reserve to modify it in future.

serviceErrorCodehttpStatusCodeOccurs in Validation ofmessage
2100422schemaThe id '%s' is invalid. If the id has a prefix it is not allowed to start with 'ten' or 'app'.
2101422schemaThe id '%s' is invalid. If the id has a prefix it is expected to be '%s'.
2102422schemaThe id '%s' is invalid. The id of an object type is not allowed to start with '%s'.
2103422schemaThe id '%s' is invalid. The id of an property type is not allowed to start with '%s'.
2104422schemaToo many property types. There are %s property types. Up to %s are allowed. This is a configurable boundary.
2105422schemaThere are references from the global schema to the schema of app '%s'. For tenant '%s' app '%s' is disabled.
2106422schemaThere are references from the schema of app '%s' to the schema of app '%s'. For tenant '%s' app '%s' is enabled and app '%s' is disabled.
2110422schemaAmbiguous ids. There are %s %stype definitions with the id '%s'.
2111422schemaId missing. There is a %s definition without id.
2112422schemaInvalid id. There is a %s with the invalid id '%s'. The id must match '%s'.
2113422schemaId too long. The maximum length for an id is %s without prefix. The length of '%s' is %s.
2120422schemaProperty type missing. The attribute 'propertyType' of the property type definition '%s' is missing.
2121422schemaWrong property type. The property type of the %s property type definition '%s' must be '%s',  but it is '%s'.
2122422schemaInvalid attribute 'queryable' in the %s property type definition '%s'. The value 'false' is only supported for table property type definitions.
2123422schemaIllegal minimum length of the property '%s'. The minimum length of a string property must not exceed %s.
2124422schemaIllegal maximum length of the property '%s'. The maximum length of a string property must not exceed %s.
2125422schemaIllegal cardinality of the property '%s'. The cardinality of a table property must not be 'multi'.
2126422schemaInvalid number of column property definitions for property '%s'. The maximum number of columns in a table must not exceed %s. column count: '%s'
2127422schemaIllegal cardinality of the property '%s'. The cardinality of a structured data property must not be 'multi'.
2130422schemaBase id missing. The attribute 'baseId' of the type definition '%s' is missing.
2131422schemaWrong base id. The base id of the %s type definition '%s' must be '%s',  but it is '%s'.
2132422schemaInvalid property reference '%s' in type definition '%s'.
2134422schemaThere are %s property references with the value '%s' in the definition of the object type '%s'.
2135422schemaInvalid secondary object type reference '%s' in type definition '%s'.
2136422schemaSecondary object type '%s' in type definition '%s' can be referenced only once.
2140422schemaThe document type '%s' does not allow content and has a static reference to the secondary object type '%s' that requires content. It would not be possible to create instances of this document type.
2141422schemaThe document type '%s' does not allow content and has a non-static reference to the secondary object type '%s' that requires content. This secondary object type could never be assigned to instances of this document type.
2142422schemaThe document type '%s' requires content and has a static reference to the secondary object type '%s' that does not allow content. It would not be possible to create instances of this document type.
2143422schemaThe document type '%s' requires content and has a non-static reference to the secondary object type '%s' that does not allow content. This secondary object type could never be assigned to instances of this document type.
2144422schemaThe document type '%s' has static references to the secondary object types that require content ('%s') and that do not allow content ('%s'). It would not be possible to create instances of this document type.
2145422schemaThe document type '%s' has static references to the secondary object types that require content ('%s') and non-static references to secondary object types that do not allow content ('%s'). These non-static secondary object types could never be assigned to instances of this document type.
2146422schemaThe document type '%s' has static references to the secondary object types that do not allow content ('%s') and non-static references to secondary object types that require content ('%s'). These non-static secondary object types could never be assigned to instances of this document type.
2150422schemaThe folder type '%s' has static references to secondary object types that require content ('%s'). It would not be possible to create instances of this folder type.
2151422schemaThe folder type '%s' has non-static references to secondary object types that require content ('%s'). These non-static secondary object types could never be assigned to instances of this folder type.
2152422schemaThe folder type '%s' has static references to secondary object types that allow content ('%s'). It would not be possible to create instances of this folder type.
2153422schemaThe folder type '%s' has non-static references to secondary object types that allow content ('%s'). These non-static secondary object types could never be assigned to instances of this folder type.
2200422schemaEmpty lists are not allowed. The property '%s' has an empty list as value.
2201422schemaThe cardinality of the property '%s' is 'multi',  but the value is no list: %s.
2202422schemaThe cardinality of the property '%s' is 'single',  but the value is a list: %s.
2203422schemaIllegal number of values. The cardinality of the property '%s' is 'single',  but there are multiple values: %s.
2204422schemaNull values are not allowed in lists. Property='%s'
2210422schemaIllegal property value. The property '%s' is a boolean property and is unable to accept the value '%s'.
2211422schemaIllegal property value. The property '%s' is a datetime property and is unable to accept the value '%s'.
2212422schemaIllegal property value. The property '%s' is a decimal property and is unable to accept the value '%s'.
2213422schemaIllegal property value. The property '%s' is an id property and is unable to accept the value '%s'.
2214422schemaIllegal property value. The property '%s' is an integer property and is unable to accept the value '%s'.
2215422schemaIllegal property value. The property '%s' is a string property and is unable to accept the value '%s'.
2216422schemaMalformed table. The property part 'columnNames' of the table property '%s' is expected to be a list of strings. ColumnNames: '%s'
2217422schemaMalformed table. The value of the table property '%s' is expected to be a list. Table value: %s
2218422schemaMalformed table. A row of the table '%s' is not a list. Row: '%s'
2219422schemaIllegal property value. The value of the structured data property '%s' is expected to be a list or a map. Value: %s
2220422schemaInvalid json. The value of the structured data property %s must be a valid json. Value = '%s'. Error message: %s
2240422schemaIllegal property value. The property '%s' is a datetime property with resolution 'date' and is unable to accept the value '%s'.
2250422schemaThe decimal value %s is not valid. The type '%s' permits no values smaller than %s.
2251422schemaThe decimal value %s is not valid. The type '%s' permits no values larger than %s.
2260422schemaThe integer value %s is not valid. The type '%s' permits no values smaller than %s.
2261422schemaThe integer value %s is not valid. The type '%s' permits no values larger than %s.
2270422schemaString value is too short. The type '%s' permits only strings with a length at least %s. The length of '%s' is %s.
2271422schemaString value is too long. The type '%s' permits only strings with a length up to %s. The length of '%s' is %s.
2272422schemaString value is too long. A string property permits only strings with a length up to %s. The property '%s' has a value of length %s: '%s'.
2280422schemaIllegal column. A table of type '%s' cannot have a column named '%s'.
2281422schemaIllegal column names. The column '%s' occures %s times.
2282422schemaMalformed table. The maximum number of rows in a table must not exceed %s. row count: '%s'
2283422schemaInvalid row. The row of a table property '%s' is expected to contain exactly %s entries,  but the %s. row contains %s entries.
2290422schemaStructure data value to large. The value of the property '%s' contains %s sub-values. Only up to %s are allowed.
2291422schemaStructured data value to deep. The value of the property '%s' has a depth of %s. The maximum depth is %s.
2292422schemaInvalid value of structure data property '%s'. Non-string key found: '%s'.
2293422schemaKey too long. The length of the key '%s' in the value of the structured data property '%s' is %s. The maximum length is %s.
2294422schemaInvalid key '%s' in the value of the structured data property '%s'. The key must match the regex '%s'.
2300422schemaA required property is missing. property


Read on

Schema - Defining Object Types

Define properties and reference them in object type definitions for the entire system, for individual tenants or for a specific app. Keep reading

Apps

Management of apps that are based on yuuvis® Momentum via schema, permissions, system hook configuration and availability configurations. Keep reading

Tagging

The basic idea for the usage of tags is to describe the state of an object within a process chain. They basically consist of a name and a state value and can be assigned to any object. Keep reading

  • No labels