JSON-RPC error(-703): Not subscribed to this stream

+1 vote
What is this error about?

How do I rectify it?
asked Apr 22, 2018 by makoya

2 Answers

+1 vote

Certain APIs for retrieving information from streams require you to be subscribed to that stream. If a node is subscribed to a stream it indexes that streams contents in real time, allowing these APIs to work.

In any event the solution is simply to use the subscribe command to subscribe to the stream.

answered Apr 24, 2018 by MultiChain
+1 vote

You need the following, assuming windows pc:

multichain-cli.exe <your_chain_name> subscribe <your_stream_name>

e.g.: multichain-cli.exe chain0 subscribe stream0

 

Check for more on:

https://www.multichain.com/developers/json-rpc-api/

under: Managing stream and asset subscriptions --> subscribe

answered Apr 25, 2018 by kgiannis
...