Improved error when start_at and end_at and duration specified