lifelonglearner_rohit
lifelonglearner_rohit

Reputation: 71

How to fix - Error during RPC invocation - R3 Corda?

I am trying to follow Hello World - Part 1 from Corda tutorials. Where do I need to look at, to understand the error? and what's the solution?

   flow start IOUFlow iouValue: 99, otherParty: "O=PartyB,L=New York,C=US"

I expect the PartyB to receive iouValue 99 but actually I get

  • [Node thread-1]proxies.ExceptionSerialisingRpcOpsProxy.log - Error during RPC invocation

Upvotes: 0

Views: 418

Answers (2)

lifelonglearner_rohit
lifelonglearner_rohit

Reputation: 71

Place @BelongsToConract in TemplateState before the class declaration. Being a rookie, didn't have the idea of the placement of the annotatioons.

Upvotes: 0

Austin Moothart
Austin Moothart

Reputation: 378

Try passing in the parameter only as "PartyB". The syntax would be:

flow start IOUFlow iouValue: 99, otherParty: PartyB

Upvotes: 0

Related Questions