You can get quick answer of your question by entering here
Why we are getting an error "roomtravellerinfo[0].travellerinfo : invalid hotel traveller list" in hotel book API?
This error occurs when the traveller details passed in the Hotel Book API request do not match with the search request(Number of room and guest).
Common Reasons:
-
Traveller count mismatch
The number of adults/children sent intravellerInfois different from what was entered during hotel search request. -
Missing mandatory traveller fields
Required fields like Title, FirstName, LastName, Age (for child), or Gender are missing or invalid. -
Child age mismatch
Child age provided in booking does not match the child age used during hotel search. -
Incorrect traveller array structure
TheroomTravellerInfo → travellerInfoJSON structure is not formed as per the API documentation.
Note:- Please pass the all guest details in the book request as per the search request to avoid any issue.