Error Handling
Learn how to handle and return error messages when using the SiteConnect API, including expected formats, retry strategies, and response codes.
Responses to SiteMinder
Sample Error Response
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<OTA_HotelAvailNotifRS
xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="9a40291f-24fa-410d-b1c2-b64efab47da4" TimeStamp="2023-04-28T20:46:53+10:00" Version="1.0">
<Errors>
<Error Type="6" Code="392">Hotel not found for HotelCode=XXXXXX</Error>
</Errors>
</OTA_HotelAvailNotifRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>Mandatory Error Responses
Error Description
Mandatory
Invalid included occupancy
Invalid number of adults
Auto-Disable Mechanism
Responses from SiteMinder
Sample Error Response
Common Error Responses
HTTP Error Handling
4xx – Client Errors
5xx – Server Errors
Last updated
Was this helpful?