diff --git a/app/client/src/workers/evaluationUtils.ts b/app/client/src/workers/evaluationUtils.ts index 1de5854492..1967e7267d 100644 --- a/app/client/src/workers/evaluationUtils.ts +++ b/app/client/src/workers/evaluationUtils.ts @@ -194,7 +194,11 @@ export const removeFunctions = (value: any) => { if (_.isFunction(value)) { return "Function call"; } else if (_.isObject(value)) { - return JSON.parse(JSON.stringify(value)); + return JSON.parse( + JSON.stringify(value, (_, v) => + typeof v === "bigint" ? v.toString() : v, + ), + ); } else { return value; }