Error Handling
This page provides examples of common error responses received from pmsXchange when uploading reservations.
Expectations for Error Handling
It is expected that your PMS has a robust error handling process in place. This includes a queuing mechanism and a robust retry strategy.
Please read the below to make sure you have a good understanding of the requirements for error handling for Reservations Upload.
Application Level Error Handling
OTA Error Warning Types
Below is an outline of the OTA (OpenTravel) standard EWT and ERR codes that will be used alongside the error messages specified in each OTA_HotelResNotifRS
response.
1
Unknown
Indicates an unknown error.
3
Biz rule
Indicates that the XML message has passed a low-level validation check, but that the business rules for the request message were not met.
4
Authentication
Indicates the message lacks adequate security credentials
6
Authorization
Indicates the message lacks adequate security credentials
10
Required field missing
Indicates that a required element or attribute, as defined by the schema or agreed upon by trading partners, is missing from the message. In the context of pmsXchange, this error will also be returned if the XML message does not conform to the data type restrictions specified by the XML schema.
12
Processing exception
Indicates that an undefined exception occurred during the processing of the request.
Common Error Responses
Invalid Web Service URI
Solution: Confirm you are sending your requests to the correct web service endpoint for your PMS.
Invalid Username/Password
Solution: Confirm you are sending your requests to the correct credentials assigned for your PMS pmsXchange connection.
Invalid RequestorID
Solution: Confirm you are using the correct RequestorID in your message payload.
Invalid Hotel Code
Solution: Confirm you are using the correct HotelCode in your message payload.
Required Information Missing
The above shows the response for a reservation missing OTA_HotelResNotifRQ / HotelReservations / HotelReservation / ResGlobalInfo / BasicPropertyInfo @HotelCode
Solution: You will need to adjust your implementation to include the missing information/data.
Handling HTTP 500 Error Responses
For more information on suggested handling methods, please refer to the page Handling HTTP 500.
Last updated