diff --git a/HydraServer/python/HydraServer/lib/data.py b/HydraServer/python/HydraServer/lib/data.py
index <HASH>..<HASH> 100644
--- a/HydraServer/python/HydraServer/lib/data.py
+++ b/HydraServer/python/HydraServer/lib/data.py
@@ -696,6 +696,8 @@ def _process_incoming_data(data, user_id=None, source=None):
 
         if d.metadata is not None:
             metadata_dict = json.loads(d.metadata)
+        else:
+            metadata_dict={}
 
         metadata_keys = [k.lower() for k in metadata_dict]
         if user_id is not None and 'user_id' not in metadata_keys:
Upload the latest versions of Excel App and GAMS build to Apps folder
Fix issue of metadata_dict being null when updating the scenario