Invalid input. Both start_date and end_date are required.