Error Codes

From Fusion Registry Wiki
Revision as of 01:08, 30 September 2020 by Plazarou (talk | contribs) (Error Codes)
Jump to navigation Jump to search


Error Codes

All Error Codes are assigned a code value which has the format: XXX-YYY-ZZZ

Where:

  • XXX is the product code - a three letter alpha-numeric code identifying the product that has caused the error
  • YYY is the module code - a three digit numeric
  • ZZZ is the identifying error code - a three digit numeric which identifies the error for the particular module

Some typical examples:

REG-201-140
EDG-004-123
000-201-140

Product Code

A three letter alpha-numeric code which identifies the product.

  • REG - Fusion Registry
  • EDG - Fusion Edge Server
  • 000 - Unnamed product

Module Code

A three digit numeric which identifies the module that caused the error. The module codes defined so far are:

  • 201 - Data Validation

Identifying Code

A three-digit number which identifies a unique error code in a module. No further inference of meaning need necessarily be obtainable from the identifying code i.e. It is not necessary to split a modules codes into further divisions in the identifying code, but code assigners will ensure that related codes are close to one another as far as possible.


Data Validation Error Codes

The following is the list of error codes that can be produced during Data Validation.

NOTE: Each error code will be prefixed with the Product. Fo for the Registry for the error where "Component '<id>' does not exist in Data Structure" the produced code is REG-201-001

  • 201-001 - Component '<id>' does not exist in Data Structure
  • 201-002 - Data Structure Definition attribute '<id>' is not attached to the dataset, it is attached to the: <attachment level>
  • 201-003 - Data Structure Definition does not define a Group with id '<id>'
  • 201-004 - Observation does not report a TIME_PERIOD
  • 201-005 - Syntax error in reported Time Period: '<obsTime>'
  • 201-006 - Measure Dimension '<id>' is reporting value '<conceptId>' which is not a valid representation in referenced Concept Scheme
  • 201-007 - The reported value '<id>' for '<conceptId>' is not valid for time period '<obsTime>'
  • 201-008 - Date type not recognised : <dateType name>
  • 201-051 - Missing mandatory attribute '<id>'
  • 201-101 - Multiple observation values missing from reported time range '<startPeriod>' to '<endPeriod>'
  • 201-102 - Missing Observation for Time Period: '<timePeriod>'
  • 201-130 - Observation value has been specified but OBS_STATUS enforces that this is not valid. OBS_STATUS: <obsStatusValue>
  • 201-131 - Observation value has not been specified but OBS_STATUS enforces that a value must be specified. OBS_STATUS: <obsStatusValue>
  • 201-150 - Invalid Date Format `<obsTime>`
  • 201-151 - The Observation Date does not match the expected format for the frequency Dimension: '<freqDimensionId>'. Expected frequency format: '<format>'. Observation Date is: '<obsTime>'
  • 201-160 - Failed calculation '<calculationExpression>' for Dimension '<dimensionId>'. Output could not be calculated.
  • 201-161 - Failed calculation '<calculationExpression>' for Dimension '<dimensionId>'. Output could not be calculated due to error '<errorMessage>'. Inputs to the calculation are '<inputs>'.
  • 201-162 - Failed calculation '<calculationExpression>' for Dimension '<dimensionId>'. Calculation result <result>. Inputs to the calculation are '<inputs>'.
  • 201-163 - Failed calculation '<calculationExpression>'for Dimension '<dimensionId>'. Reported Value <value>. Inputs to the calculation are '<inputs>'.
  • 201-180 - Component '<id>' does not exist in Data Structure
  • 201-181 - Data Structure Definition does not define an Attribute with Id '<id>'
  • 201-182 - Data Structure Definition component '<id>' is not an attribute it is a <structureType>
  • 201-183 - Data Structure Definition attribute '<id>' is not attached to the dataset, it is attached to the: <attachmentLevel>
  • 201-184 - Data Structure Definition does not define a Group with id '<groupName>'
  • 201-185 - Data Structure Definition does not define Component '<id>' in Group '<groupId>'
  • 201-186 - Missing value for Dimension <id>
  • 201-187 - '<conceptid>' does not exist in Data Structure
  • 201-188 - Series Attribute '<attributeId>' is not defined by Data Structure: <dsdId>
  • 201-189 - Observation Attribute '<attributeId>' is not defined by Data Structure: <dsdId>
  • 201-190 - Group <groupName> Attribute '<attributeId>' is not defined by Data Structure: <dsdId>
  • 201-200 - <componentId> is reporting value '<reportedValue> which is not a valid representation in referenced <type> '<id>'
  • 201-201 - Reported value '<value>' is not of expected type '<type>'
  • 201-202 - Reported value '<value>' for '<componentId>' is not of expected type '<type>'
  • 201-203 - Reported value '<value>' for '<componentId>' is expected to be numerical
  • 201-204 - Reported value '<value>' for '<componentId>' does not match expected pattern '<pattern>'
  • 201-205 - Reported value '<value>' for '<componentId>' exceeds the number of allowed decimal places of <numberOfDecimals>
  • 201-206 - Reported value '<value>' for '<componentId>' is shorter than the minimum allowed length of <minLength>
  • 201-207 - Reported value '<value>' for '<componentId>' is greater than the maximum allowed length of <maxLength>
  • 201-208 - Reported value '<value>' for '<componentId>' is less than the specified start value of <startValue>
  • 201-209 - Reported value '<value>' for '<componentId>' is greater than the specified end value of <endValue>
  • 201-210 - Reported value '<value>' for '<componentId>' do not fit the allowed intervals starting from <startValue> and increasing by <interval>
  • 201-211 - Reported value '<value>' for '<componentId>' is less than the specified min value of <minValue>
  • 201-212 - Reported value '<value>' for '<componentId>' is greater than the specified max value of <maxValue>
  • 201-213 - Reported value '<value>' for '<componentId>' is before the allowed start time of <date>
  • 201-214 - Reported value '<value>' for '<componentId>' is after the allowed start time of <date>
  • 201-215 - Duplicate language '<locale>' for TextType
  • 201-216 - <textTypeValue> invalid with respect to allowed string : <validPattern>
  • 201-230 - Duplicate value reported for series <seriesCode>. Reported values are: '<value1>' and '<value2>' ( Time Period: <timePeriod> )
  • 201-231 - Contradictory '<value>' value reported. Both '<value1>' and '<value2>' have been reported in the same dataset for series '<seriesCode>'
  • 201-250 - Disallowed <Dimension | Attribute > Value: <id>=<code>
  • 201-251 - No Observations are allowed for this dataset
  • 201-252 - No Series are allowed for this dataset
  • 201-253 - Series contains values which have been restricted
  • 201-254 - Group '<groupName>' contains values which have been restricted