I want to use UpsertDE function on Shared Data Extension using SSJS from child BU. Even I tried ENT. before DE name, I have received 500 error in cloud page and script activity is getting errored in Automation Studio.
If i use DE within same child BU, it is working fine. I am facing issue with shared DE
Below is my code:
<script runat="server" language="javascript" excutioncontexttype="get">
Platform.Load("core","1");
Platform.Function.UpsertDE("[ENT.SharedDEname]",["Date"],[Now()],["FName","Lname","Status"],["value1","value2","value3"]);
</script>
try { ... } catch(e) { Write(Stringify(e)) }
to have it output the cause of the 500 error for easier debugging.