errCode is not always sent by the home server. Set it in an optional way else iOS generates nil dict value exception