diff --git a/app/client/public/404.html b/app/client/public/404.html
index fde74d5a4007..3d7109f0d3e5 100644
--- a/app/client/public/404.html
+++ b/app/client/public/404.html
@@ -27,8 +27,8 @@
return result;
}
- const smartLookId = parseConfig("__APPSMITH_SMART_LOOK_ID__");
- const sentryDSN = parseConfig("__APPSMITH_SENTRY_DSN__");
+ const smartLookId = parseConfig('{{env "APPSMITH_SMART_LOOK_ID"}}');
+ const sentryDSN = parseConfig('{{env "APPSMITH_SENTRY_DSN"}}');