Enum GS1ValidationErrorCode

GS1ValidationErrorCode enumeration

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

public enum GS1ValidationErrorCode

Values

NameValueDescription
EmptyElementString0The supplied GS1 element string is empty.
MissingOpeningParenthesis1An opening parenthesis that should begin an Application Identifier is missing.
MissingClosingParenthesis2An Application Identifier has no closing parenthesis.
InvalidApplicationIdentifier3An Application Identifier does not contain two to four ASCII digits.
UnknownApplicationIdentifier4The supplied Application Identifier is not defined by the supported GS1 Syntax Dictionary.
MissingValue5An Application Identifier is present without a value.
InvalidEscapeSequence6A value contains an unsupported escape sequence. Only ( is supported.
ValueTooShort7A value is shorter than the minimum length defined for its Application Identifier.
ValueTooLong8A value is longer than the maximum length defined for its Application Identifier.
InvalidCharacter9A value contains a character outside the character set permitted for its component.
InvalidChecksum10A numeric or alphabetic checksum is invalid.
InvalidDate11A date component is not a meaningful date under the rules defined for its Application Identifier.
InvalidTime12A time component is outside its permitted range or has an invalid structure.
InvalidCodeListValue13A component value is not present in its permitted closed code list.
InvalidComponentLength14A component does not satisfy its component-specific length structure.
TruncatedComponent15A fixed-length component ends before all required characters are present.
UnexpectedData16Data remains after all components defined for the Application Identifier have been consumed.
InvalidValue17A component violates a content rule that has no more specific validation error code.
GcpPrefixTooShort18A component is too short to contain the minimum four-digit structural GS1 Company Prefix.
InvalidGcpPrefix19The structural GS1 Company Prefix contains a character other than an ASCII digit.
InvalidDigitalLinkUri20The supplied value is not a well-formed absolute GS1 Digital Link URI.
UnsupportedDigitalLinkScheme21A GS1 Digital Link URI uses a scheme other than HTTP or HTTPS.
MissingDigitalLinkPrimaryKey22A GS1 Digital Link URI path does not contain a supported primary key.
InvalidDigitalLinkPath23A GS1 Digital Link URI path does not consist of valid AI and value pairs.
InvalidDigitalLinkQualifier24A path Application Identifier is not a permitted qualifier at that position.
InvalidDigitalLinkQueryParameter25A GS1 Digital Link query parameter is malformed.
ApplicationIdentifierNotAllowedInDigitalLink26An Application Identifier is not permitted as a GS1 Digital Link data attribute.
InvalidPercentEncoding27A GS1 Digital Link URI component contains malformed percent encoding.
MultipleDigitalLinkPrimaryKeys28More than one element could be selected as the GS1 Digital Link primary key.
UnsupportedElementCombination29The supplied combination of GS1 elements is not supported by the selected symbology or encoding mode.

See Also