Versions Compared

Key

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

Table of Contents

Introduction

The eTIR internation system is based on web services that are exchanged between the different stakeholders. The messages exchanged using these web services are specified and used according to the rules detailed in the eTIR Specifications. When the eTIR internation system receives and processes a message, it performs a series of validation on the message itself, on the context of related guarantee, holder or transport and issues a response to the system which has sent the message in the first place. If anything goes wrong during these validation and processing steps, an error is sent back in the reponse. This error is presented as an Error code with a Pointer which can be used to point towards a specific field of the message. The list of all error codes is available in the Code List 99 and is also reproduced on this page for ease of reference, and as a living document, representing the latest version of these codes.

Specifications of the Error Codes

  • 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
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
Missing fieldA required field is missing in the messageThe pointer is set to the missing fieldAll requests

102

HTML
Invalid domain for the valueThe value is out of a defined list of acceptable valuesThe pointer is set to the invalid fieldAll requests

103

HTML
Malformed dateA field containing a date value cannot be properly convertedThe pointer is set to the invalid fieldI1/I2, I7/I8, I9/I10, I11/I12, I13/I14, E1/E2, E9/E10

104

HTML
Not an integerA numeric field contains a value that is not numericThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12, E13/E14

105

HTML
Max value length exceeded

A String field contains a value with too many characters

The pointer is set to the invalid fieldAll requests

106

HTML
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 fieldAll requests

107

HTML
Invalid elementThe specified field does not follow the order defined in the XML Schema Definition of the messageThe pointer is set to the invalid fieldAll requests

151

HTML
Condition C001 failureThe condition C001 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

152

HTML
Condition C002 failureThe condition C002 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

153

HTML
Condition C003 failureThe condition C003 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

154

HTML
Condition C004 failureThe condition C004 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

155

HTML
Condition C005 failureThe condition C005 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

158

HTML
Condition C008 failureThe condition C008 is not satisfiedThe pointer is set to the invalid fieldI7/I8, E9/E10, E11/E12

188

HTML
Rule R008 failureThe rule R008 is not satisfiedThe pointer is set to the invalid fieldI7/I8

2XX - Workflow errors

Error codeError nameDescriptionPointer is set toObservations

200

HTML
Invalid stateThe state of an internal object is invalid, and no additional details are available for this errorRoot of the messageThis is the default error code for this class

201

HTML
Guarantee not acceptableThe guarantee is not in a state that allows to accept itRoot of the messageI1/I2

203

HTML
Guarantee not cancellableThe guarantee is not in a state that allows to cancel itRoot of the messageE3/E4

204

HTML
Guarantee already registeredThe guarantee has already been registeredRoot of the messageE1/E2

205

HTML
Guarantee already cancelledThe guarantee is already cancelled or the request to cancel it has already been sentRoot of the messageE3/E4

210

HTML
Operation already startedThe operation is already startedRoot of the messageI9/I10

211

HTML
Operation already terminatedThe operation has already been completedRoot of the messageI11/I12

212

HTML
Operation already dischargedThe operation is already dischargedRoot of the messageI13/I14

213

HTML
Operation not yet startedThe operation is not yet startedRoot of the messageI11/I12, I13/I14

214

HTML
Operation ID already registeredThe "refusal to start" is an operation on its own and must have a unique operation IDRoot of the messageI9/I10, I11/I12, I13/I14, I17/I18

215

HTML
Operation sequence already registeredThe "refusal to start" is an operation on its own and must have a unique operation sequenceRoot of the messageI9/I10, I11/I12, I13/I14, I17/I18

216

HTML
Refusal to start not authorizedThe "refusal to start" cannot be performed because of the current guarantee status or because it is the first operation for this transportRoot of the messageI17/I18

220

HTML
Declaration not yet receivedThe operation cannot be started because the declaration was not receivedRoot of the messageI9/I10

299

HTML
Duplicate messageThe same message was already received from the same sourceRoot of the messageI9/I10, I11/I12, I13/I14

3XX - Functional errors

Error codeError nameDescriptionPointer is set toObservations

300

HTML
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
Guarantee not foundThe guarantee was not found in the databaseTo the guarantee reference (if applicable)All requests

302

HTML
Guarantee chain not foundThe guarantee chain was not found in the databaseRoot of the messageAll requests

303

HTML
Guarantee type not foundThe guarantee type was not found in the databaseRoot of the messageAll requests

304

HTML
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
Country not foundThe country was not found in the databaseRoot of the messageE9/E10, I7/I8, I9/I10, I11/I12, I13/I14

???

HTML
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??????

306

HTML
Control type not foundThe control type was not found in the databaseTo the control type element, if applicableI9/I10, I11/I12, I13/I14
307Declaration not foundThe related declaration was not found in the Database
I7/I8

320

HTML
Holder/Guarantee mismatch

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

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

321

HTML
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
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
Guarantee chain not authorizedThe guarantee chain is not authorized in the databaseRoot of the messageI1/I2, E1/E2, E5/E6

331

HTML
Guarantee chain/Guarantee mismatchThe guarantee chain code value and the guarantee reference value do not match what is recorded in the databaseRoot of the messageI1/I2, E3/E4

332

HTML
Guarantee type/Guarantee mismatchThe guarantee type value and the guarantee reference value do not match what is recorded in the databaseRoot of the messageI1/I2, E3/E4

333

HTML
Declaration reference not foundThe FunctionalReferenceID value do not match to what is already recorded in the database
 
Declaration/FunctionalReferenceIDE11/E12, E13/E14

334

HTML
Declaration already cancelledThe declaration could not be modified because it was already cancelled
 
DeclarationE11/E12, E13/E14

4XX - Internal errors

Error codeError nameDescriptionPointer is set toObservations

400

HTML
eTIR internal errorAn internal error in the eTIR international system occurred and no additional details are available for this errorRoot of the messageThis is the default error code for this class

5XX - Customs errors

Error codeError nameDescriptionPointer is set toObservations

500

HTML
Customs declaration processing errorThe message was not accepted by customs and no additional details are available for this errorRoot of the messageThis is the default error code for this class

501

HTML

Advance TIR data not accepted

Customs did not accept the advance TIR dataRoot of the messageE9/E10

502

HTML

Advance amendment data not accepted

Customs did not accept the advance amendment dataRoot of the messageE11/E12