- Error:
SerovalMissingInstanceError - Step:
deserialize - Fields:
tag, eitherPromiseorStream.
What it means
The input settles a promise or sends a value to a stream, but no promise or stream with that id was decoded before.
Common causes
- Chunks of a cross-reference stream reach a deserializer that did not decode the first chunk.
- Chunks arrive out of order, or one was lost.
- Two streams share one deserializer, or one stream is split across two.
- The input was not produced by seroval, or was changed on the way.
How to fix it
- Send every chunk, in order, to one cross deserializer.
- Give each stream its own deserializer, and its own
scopeIdwhen the output is code.