Error: Both start date and end date are required.