Please, add creation of result = .new RemoteOperationResult(false,...) ; for responses with code 4xx or 5xx from the server side.