return 400 invalid dates, dates exclusive