Versions Compared

Key

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

...

  • This list of error codes is specific to eTIR as it allows IT teams to better understand errors while implementing the interconnection to the eTIR international system. This should result in a faster implementation overall and more accurate responses to errors from the system sending messages to the eTIR international system.
  • Furthermore, a detailed error code system will also greatly simplify the communication between the stakeholders and the Help Desk of the TIR Secretariat, in case of issue, to identify and correct the underlying issue.
  • The list of error codes is based on best practices from the IT industry. Like the list of HTTP status codes, all error codes have three digits, and the first digit of the status code defines the class of response:
    • 1XX - Validation: validation of the message and if its parameters
    • 2XX - Workflow: workflow related errors
    • 3XX - Functional: other functional errors
    • 4XX - Internal: eTIR international system internal errors
    • 5XX - Customs: errors raised by Customs
  • Each class of response has a default error code which indicates at least the class of the error if it cannot be more precise.

List of error codes

In the following list, the following terms are used:

  • Message: An XML message
  • Field: An XML element or attribute
  • Value: The value mentioned in an XML element or attribute

1XX - Validation errors

Error codeError nameDescriptionPointer is set toObservations

100

HTML
<a id="100"></a>
Invalid messageThe message is invalid, and no additional details are available for this errorRoot of the messageThis is the default error code for this class

101

HTML
<a id="101"></a>
Missing parameterfieldA required parameter field is missing in the messageThe pointer is set to the missing parameterfieldAll requests

102

HTML
<a id="102"></a>
Invalid domain for the value parameterA parameter The value is out of a defined list of acceptable valuesThe pointer is set to the invalid parameterfieldAll requests

103

HTML
<a id="103"></a>
Malformed dateA parameter field containing a date information value cannot be properly convertedThe pointer is set to the invalid parameterfieldI1/I2, I7/I8, I9/I10, I11/I12, I13/I14, E1/E2, E9/E10

104

HTML
<a id="104"></a>
Not an integerA numeric field is containing data contains a value that is not numericThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12, E13/E14

105

HTML
<a id="105"></a>
Parameter Value length exceeded

A String field contains a value with too many characters

The pointer is set to the invalid parameterfieldAll requests

106

HTML
<a id="106"></a>
Invalid patternA String field does not match the pattern for the field defined in the XML Schema Definition of the messageThe pointer is set to the invalid parameterfieldAll requests

107

HTML
<a id="107"></a>
Invalid elementThe specified element is field does not following follow the order defined in the XML Schema Definition of the schemamessageThe pointer is set to the invalid parameterfieldAll requests

151

HTML
<a id="151"></a>
Condition C001 failureThe condition C001 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

152

HTML
<a id="152"></a>
Condition C002 failureThe condition C002 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

153

HTML
<a id="153"></a>
Condition C003 failureThe condition C003 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

154

HTML
<a id="154"></a>
Condition C004 failureThe condition C004 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

155

HTML
<a id="155"></a>
Condition C005 failureThe condition C005 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

158

HTML
<a id="158"></a>
Condition C008 failureThe condition C008 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8, E9/E10, E11/E12

188

HTML
<a id="188"></a>
Rule R008 failureThe rule R008 is not satisfiedThe pointer is set to the invalid parameterfieldI7/I8

2XX - Workflow errors

...

Error codeError nameDescriptionPointer is set toObservations

300

HTML
<a id="300"></a>
Invalid operationAn invalid operation was performed, and no additional details are available for this errorRoot of the message

This is the default error code for this class

301

HTML
<a id="301"></a>
Guarantee not foundThe guarantee was not found in the databaseTo the guarantee reference (if applicable)All requests

302

HTML
<a id="302"></a>
Guarantee chain not foundThe guarantee chain was not found in the databaseRoot of the messageAll requests

303

HTML
<a id="303"></a>
Guarantee type not foundThe guarantee type was not found in the databaseRoot of the messageAll requests

304

HTML
<a id="304"></a>
Customs office not foundThe customs office was not found in the databaseRoot of the messageE9/E10, I7/I8, I9/I10, I11/I12, I13/I14

305

HTML
<a id="305"></a>
Country not foundThe country was not found in the databaseRoot of the messageE9/E10, I7/I8, I9/I10, I11/I12, I13/I14

306

HTML
<a id="306"></a>
Country not connectedThe country is not yet connected to the eTIR international system and cannot be part of the itinerary of a TIR transport using the eTIR procedure??????

307

HTML
<a id="307"></a>
Control type not foundThe control type was not found in the databaseTo the control type element, if applicableI9/I10, I11/I12, I13/I14

320

HTML
<a id="320"></a>
Holder/Guarantee mismatch

The holder id parameter value and the guarantee reference parameter value do not match what match what is recorded in the database

Root of the messageI1/I2, I7/I8, E3/E4, E9/E10, E11/E12, E13/E14

321

HTML
<a id="321"></a>
Holder not authorizedThe holder is not authorized in the International TIR Data Bank (ITDB)Root of the messageE1/E2, I1/I2, I9/I10, I11/I12, I13/I14, 

322

HTML
<a id="322"></a>
Holder not foundThe holder is not found in ITDBThe holder/Principal IDE1/E2, E5/E6, I1/I2, I3/I4, I5/I6, I9/I10, I11/I12, I13/I14

330

HTML
<a id="330"></a>
Guarantee chain not authorizedThe guarantee chain is not authorized in the databaseRoot of the messageI1/I2, E1/E2, E5/E6

331

HTML
<a id="331"></a>
Guarantee chain/Guarantee mismatchThe guarantee chain code parameter value and the guarantee reference parameter value do not match what is recorded in the databaseRoot of the messageI1/I2, E3/E4

332

HTML
<a id="332"></a>
Guarantee type/Guarantee mismatchThe guarantee type parameter value and the guarantee reference parameter value do not match what match what is recorded in the databaseRoot of the messageI1/I2, E3/E4

333

HTML
<a id="333"></a>
Declaration reference not foundThe FunctionalReferenceID value do not match to what is already recorded in the database
 
DeclarartionDeclaration/FunctionalReferenceIDE11/E12, E13/E14

334

HTML
<a id="334"></a>
Declaration already cancelledThe declaration could not be modified because it was already cancelled
 
/DeclarartionDeclarationE11/E12, E13/E14

4XX - Internal errors

...