Pushing existing objects as related objects

Hi, I apologize in advance if this sounds stupid, I’m new to this.
I’m working with JS, how do I push an existing object as a related object?
Here’s a sample schema:
Person {
name: “Fred”,
contact: []
}
var array = personObject[“contact”];
array.push(contactObject);
contactObject was retrieved via ObjectId.
Does contactObject’s properties follow the Contact schema? I’m getting an error that says the properties are not equal.
Thank you.

Hi, found your answer here: http://support.backendless.com/t/how-do-i-save-new-object-with-relation-to-an-existing-one-rest (Thank you!)

But now, I’m getting another round of “Internal server error id ####” again. Is there anything I can do with that?

Make sure you’re using the async version of the API. If you call a synchronous method (the one that waits on the response) on the main UI thread in Android, it will not allow it.