diff --git a/index.js b/index.js
index d8da1fe39ac9507fe7478de80564097ab3d56f8f..9998bf6d5abd4eaaeaf732ec3b0fbb722704667a 100644
--- a/index.js
+++ b/index.js
@@ -313,8 +313,13 @@ async function checkConsentForLoadCurve(
     } else if (err.statusCode === 403 || err.code === 403) {
       log('info', 'No consent for load curve')
       return false
-    } else {
-      throw 'DEMI HEURE FAILL'
+    } 
+    else if (err.statusCode === 404 || err.code === 404 && err.error === "no_data_found") {
+      log('Handling half-hour error on connection') 
+      return false
+    }
+    else {
+      throw err
     }
   }
 }