GS1ValidationErrorCode

GS1ValidationErrorCode enumeration

Identifies a GS1 element string, Digital Link URI or value validation error.

Members

Member nameDescription
EMPTY_ELEMENT_STRINGThe supplied GS1 element string is empty.
MISSING_OPENING_PARENTHESISAn opening parenthesis that should begin an Application Identifier is missing.
MISSING_CLOSING_PARENTHESISAn Application Identifier has no closing parenthesis.
INVALID_APPLICATION_IDENTIFIERAn Application Identifier does not contain two to four ASCII digits.
UNKNOWN_APPLICATION_IDENTIFIERThe supplied Application Identifier is not defined by the supported GS1 Syntax Dictionary.
MISSING_VALUEAn Application Identifier is present without a value.
INVALID_ESCAPE_SEQUENCEA value contains an unsupported escape sequence. Only ( is supported.
VALUE_TOO_SHORTA value is shorter than the minimum length defined for its Application Identifier.
VALUE_TOO_LONGA value is longer than the maximum length defined for its Application Identifier.
INVALID_CHARACTERA value contains a character outside the character set permitted for its component.
INVALID_CHECKSUMA numeric or alphabetic checksum is invalid.
INVALID_DATEA date component is not a meaningful date under the rules defined for its Application Identifier.
INVALID_TIMEA time component is outside its permitted range or has an invalid structure.
INVALID_CODE_LIST_VALUEA component value is not present in its permitted closed code list.
INVALID_COMPONENT_LENGTHA component does not satisfy its component-specific length structure.
TRUNCATED_COMPONENTA fixed-length component ends before all required characters are present.
UNEXPECTED_DATAData remains after all components defined for the Application Identifier have been consumed.
INVALID_VALUEA component violates a content rule that has no more specific validation error code.
GCP_PREFIX_TOO_SHORTA component is too short to contain the minimum four-digit structural GS1 Company Prefix.
INVALID_GCP_PREFIXThe structural GS1 Company Prefix contains a character other than an ASCII digit.
INVALID_DIGITAL_LINK_URIThe supplied value is not a well-formed absolute GS1 Digital Link URI.
UNSUPPORTED_DIGITAL_LINK_SCHEMEA GS1 Digital Link URI uses a scheme other than HTTP or HTTPS.
MISSING_DIGITAL_LINK_PRIMARY_KEYA GS1 Digital Link URI path does not contain a supported primary key.
INVALID_DIGITAL_LINK_PATHA GS1 Digital Link URI path does not consist of valid AI and value pairs.
INVALID_DIGITAL_LINK_QUALIFIERA path Application Identifier is not a permitted qualifier at that position.
INVALID_DIGITAL_LINK_QUERY_PARAMETERA GS1 Digital Link query parameter is malformed.
APPLICATION_IDENTIFIER_NOT_ALLOWED_IN_DIGITAL_LINKAn Application Identifier is not permitted as a GS1 Digital Link data attribute.
INVALID_PERCENT_ENCODINGA GS1 Digital Link URI component contains malformed percent encoding.
MULTIPLE_DIGITAL_LINK_PRIMARY_KEYSMore than one element could be selected as the GS1 Digital Link primary key.
UNSUPPORTED_ELEMENT_COMBINATIONThe supplied combination of GS1 elements is not supported by the selected symbology or encoding mode.

See Also