diff --git a/tdrs-backend/tdpservice/data_files/views.py b/tdrs-backend/tdpservice/data_files/views.py index 87784449c..5018ee504 100644 --- a/tdrs-backend/tdpservice/data_files/views.py +++ b/tdrs-backend/tdpservice/data_files/views.py @@ -147,7 +147,7 @@ def download_error_report(self, request, pk=None): """Generate and return the parsing error report xlsx.""" datafile = self.get_object() all_errors = ParserError.objects.filter(file=datafile) - is_s3_s4 = (DataFile.Section.STRATUM_DATA in datafile.section or + is_s3_s4 = (DataFile.Section.STRATUM_DATA in datafile.section or DataFile.Section.AGGREGATE_DATA in datafile.section) filtered_errors = get_prioritized_queryset(all_errors, is_s3_s4)