diff --git a/public/js/src_modules/fetchedDataProcessing.mjs b/public/js/src_modules/fetchedDataProcessing.mjs
index 7d40960c39fe67715eefb321d248bd7dfbc36435..ec6ee9206bd784e6b28e9adbbc4d320c1adc3cb1 100644
--- a/public/js/src_modules/fetchedDataProcessing.mjs
+++ b/public/js/src_modules/fetchedDataProcessing.mjs
@@ -119,11 +119,13 @@ const extractPropertiesFromFormattedDatastreamMetadata = function (
 
   if (
     isMetadataForAggregation &&
+    aggregationType !== "minimum" &&
+    aggregationType !== "maximum" &&
     aggregationType !== "sum" &&
     aggregationType !== "average"
   )
     throw new Error(
-      `The supported aggegation type strings are "sum" or "average"`
+      `The supported aggegation type strings are "minimum", "maximum", "sum" or "average"`
     );
 
   // Create arrays from the properties of the formatted datastream metadata