Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Hotels: server error while trying to search hotels far in the future #237

Closed
mrtnzlml opened this issue Feb 7, 2018 · 1 comment · Fixed by #243
Closed

Hotels: server error while trying to search hotels far in the future #237

mrtnzlml opened this issue Feb 7, 2018 · 1 comment · Fixed by #243
Assignees

Comments

@mrtnzlml
Copy link
Contributor

mrtnzlml commented Feb 7, 2018

Steps to reproduce:

  • go to hotels search
  • change checkout date to something like 2022
  • select date

Server returns "server error". Why? Also, I checked CloudWatch and it seems like our client is not sending correct date (year) to the server/Booking.com.

@tbergquist-godaddy
Copy link
Contributor

Booking.com server returns error 400, it has a limitation of 360 days in the future for checkout date.
The client sends the date correctly, I did console logs before fetch query, and it sends the date as expected.

I will add max date limitations to the datepickers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants