Bad Property name leads to Unknown Server Error

The following leads to an Unknown Server error if BOTH the RecordType "RT" and the Property "P" is not known in the server.

db.Record().add_parent("RT").add_property("P","abc").insert()