This line raises a 500 when there are to events to export.