The Resend Request message (Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
35=2) is sent by either party when a sequence number gap is detected — that is, when an incoming message has a sequence number higher than expected. It requests the counterparty to retransmit all messages in the gap range.
Upon receiving a Resend Request, the counterparty should respond with either:
- The original messages with
PossDupFlag (43) = Y, or - A Sequence Reset with
GapFillFlag (123) = Yto skip messages that are no longer available (e.g. administrative messages).
Fields
35=
2First message sequence number to be retransmitted.
Last message sequence number to be retransmitted. Use
0 to request all messages from BeginSeqNo onwards (i.e. up to the current sequence).Sequence Reset — Gap Fill
When a Resend Request is received, respond with a Sequence Reset usingGapFillFlag (123) = Y and NewSeqNo (36) set to the sequence number after the gap. This tells the server the client is skipping over the requested range rather than replaying it.
When to expect a Resend Request: If your client reconnects to an existing session without resetting sequence numbers (
141=N), or if a message is dropped in transit, the server will send a Resend Request for the missing range. Always be prepared to handle it.