Response example :
Main":{"Error":{"Code":122,"Message":"CannotParseMaximumWaitTimeElement"},"DebugError":{"Incident":0,"TimeStamp":"2025-09-20 11:23:04","Message":"Cannot parse 'MaximumWaitTime' Attribute in 'Root/Main'. Value has to be an Integer larger then 0
What it means :
The value set for MaximumWaitTime in your request is invalid and cannot be parsed.
About MaximumWaitTime :
Defines how long (in seconds) the client or software house wants to wait for Go Global’s search response.
Maximum allowed by GGT: 20 seconds.
Common reasons :
1-Value = 0
2-Value is empty
3-Value is negative (less than 0)
4-Non-integer or non-numeric input (e.g., text, special characters)
Resolution / How to fix :
1-Ensure the MaximumWaitTime exists inside <Root><Main>.
2-Set a valid integer greater than 0, up to a maximum of 20 seconds.
Example: <MaximumWaitTime>10</MaximumWaitTime>
3-Verify there are no typos, extra spaces, or unsupported characters.
✅ Example of a correct request
<Root>
<Header debug="1">
<Agency></Agency>
<User></User>
<Password></Password>
<Operation>HOTEL_SEARCH_REQUEST</Operation>
<OperationType>Request</OperationType>
</Header>
<Main Version="2.4" ResponseFormat="JSON">
<SortOrder>1</SortOrder>
<FilterPriceMin>0</FilterPriceMin>
<Nationality>US</Nationality>
<FilterPriceMax>10000</FilterPriceMax>
<MaximumWaitTime>20</MaximumWaitTime>
<MaxResponses>10000</MaxResponses>
<FilterRoomBasises>
<FilterRoomBasis></FilterRoomBasis>
</FilterRoomBasises>
<HotelName></HotelName>
<Apartments>false</Apartments>
<Hotels>
<HotelId>96773</HotelId>
</Hotels>
<ArrivalDate>2025-11-20</ArrivalDate>
<Nights>3</Nights>
<Rooms>
<Room Adults="2" RoomCount="1" ChildCount="0"></Room>
</Rooms>
</Main>
</Root>