You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

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 serie 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 on the side of 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 to in case of issues, to identify and correct the underlying problem.
  • 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 are the first digit of the status code defines the class of response:
    • 1XX - Validation: validation of the message and its parameters
    • 2XX - Workflow: workflow related problems
    • 3XX - Functional: other functional problems
    • 4XX - Internal: eTIR international system internal problems
  • 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

1XX - Validation

Error codeError nameDescriptionPointer is set toObservations
100Bad MessageThe message is invalid and there is no additional precision on the errorRoot of the messageThis is the default error code for this class
101Missing ParameterA required parameter is missing in the messageThe pointer is set to the missing parameterAll requests
102Invalid Domain Value ParameterA parameter is outside a defined list of accepted valuesThe pointer is set to the invalid parameterAll requests
103Malformed DateA parameter holding a date cannot be properly convertedThe pointer is set to the invalid parameterI7/I8, I9/I10, I11/I12, I13/I14, E1/E2, E9/E10
151Condition C001 failureThe condition C001 is not fulfilledThe pointer is set to the invalid parameterI7/I8, E9/E10
152Condition C002 failureThe condition C002 is not fulfilledThe pointer is set to the invalid parameterI7/I8, E9/E10
154Condition C004 failureThe condition C004 is not fulfilledThe pointer is set to the invalid parameterI7/I8, E9/E10
155Condition C005 failureThe condition C005 is not fulfilledThe pointer is set to the invalid parameterI7/I8, E9/E10
158Condition C008 failureThe condition C008 is not fulfilledThe pointer is set to the invalid parameterI7/I8, E9/E10

2XX - Workflow

Error codeError nameDescriptionPointer is set toObservations
200Bad StateThe state of an internal object is invalid and there is no additional precision on the errorRoot of the messageThis is the default error code for this class
201Guarantee not acceptableGuarantee is not in a state that allow to accept itRoot of the messageI1/I2, I9/I10
202Holder status exceptionThe state of the holder is not what it should have been to realize the current operationRoot of the messageI1/I2
203Guarantee not cancellableThe state of the guarantee does not allow for cancellationRoot of the messageE3/E4
204Guarantee already registeredThe guarantee has already been registeredRoot of the messageE1/E2
205Guarantee already cancelledThe guarantee is already cancelled or the request to cancel it has already been sentRoot of the messageE3/E4
210Operation already startedOperation already startedRoot of the messageI9/I10
211Operation already terminatedOperation already terminatedRoot of the messageI11/I12
212Operation already dischargedOperation already dischargedRoot of the messageI13/I14
213Operation not yet startedOperation not yet startedRoot of the messageI11/I12, I13/I14
220Declaration not yet receivedOperation cannot start because the declaration was not receivedRoot of the messageI9/I10
299Duplicate messageThe same message was already received from the same sourceRoot of the messageI9/I10, I11/I12, I13/I14

3XX - Technical errors

Error codeError nameDescriptionPointer is set toObservations
300Wrong OperationAn invalid operation was performed and there is no additional precision on the errorRoot of the message

This is the default error code for this class

301Guarantee not foundGuarantee not found in our DBTo the guarantee reference (if applicable)All requests
302Guarantee chain not foundGuarantee chain not found in DBRoot of the messageAll requests
303Guarantee type not foundGuarantee type not found in DBRoot of the messageAll requests
304Customs not foundCustoms not found in DBRoot of the messageE9/E10, I7/I8, I9/I10, I11/I12, I13/I14
305Country not foundCountry not found in DBRoot of the messageE9/E10, I7/I8, I9/I10, I11/I12, I13/I14
306Control type not foundControl type not found in DBTo the control type element, if applicableI9/I10, I11/I12, I13/I14
320Holder/Guarantee mismatchThe holder id parameter and the guarantee reference parameter do not match what we have in DBRoot of the messageI1/I2, E3/E4
321Holder not activeHolder not activeRoot of the messageI9/I10, I11/I12, I13/I14
330Guarantee chain not authorizedGuarantee chain not authorizedRoot of the messageI1/I2, E1/E2
331Guarantee chain/Guarantee mismatchThe guarantee chain code parameter and the guarantee reference parameter do not match what we have in DBRoot of the messageI1/I2, E3/E4
332Guarantee type/Guarantee mismatchThe guarantee type parameter and the guarantee reference parameter do not match what we have in DBRoot of the messageI1/I2, E3/E4
340Multiple operations foundUsed when operations are duplicated in the DBRoot of the messageI9/I10, I11/I12, I13/I14

4XX - Internal errors

Error codeError nameDescriptionPointer is set toObservations
400eTIR ProblemAn internal error in the eTIR international system occurred and there is no additional precision on the errorRoot of the messageThis is the default error code for this class
  • No labels