I'm trying to add a new row to a Shared Data Extension using SSJS.
When I try to run my code I got this error: 

`"There was an error Adding the row(s)."`

**In another environment of Marketing cloud, the code works and does not give errors.
Why is there an error?**

My code:

```
<script runat="server">
    Platform.Load("core", "1");

    try {
        var de = DataExtension.Init("EXTERNAL KEY");
        var data = {
            status: "status",
            errorMsg: "errorMsg"
        }
       Write(de.Rows.Add(data));
    }catch(error) {
        Write(Stringify(error));
    }
</script>

```