What causes "Request Rejected: Cannot request existing view on streamId that is not opened"

Has anyone ever seen this error message?
"ERROR MESSAGE: Type :(Status) Closed Completed State: CLOSED StatusCode: 1 Text: "Request Rejected: Cannot request existing view on streamId that is not opened." Info: NOT_FOUND"
This is being generated on an application built with eta3.1.0.L1 and connecting to an ADS version 3.7.2.L1 .
Any idea what might be causing this?
Answers
-
Thank you for reaching out to us.
The status message is from ADS. I can replicate this error by using the view request without payload. The RSSL_RQMF_HAS_VIEW is set and the containerType is RSSL_DT_NO_DATA.
<!-- Outgoing Message (Channel IPC descriptor = 320) -->
<!-- Time: 18:37:54:557 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<requestMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="6" containerType="RSSL_DT_NO_DATA" flags="0x446 (RSSL_RQMF_HAS_PRIORITY|RSSL_RQMF_STREAMING|RSSL_RQMF_HAS_QOS|RSSL_RQMF_HAS_VIEW)" qosDynamic="0" qosRate="2" qosTimeliness="1" priorityClass="1" priorityCount="1" dataSize="0">
<key flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)" serviceId="5001" name="TRI" nameType="1"/>
<dataBody>
</dataBody>
</requestMsg>
<!-- End Message (Channel IPC descriptor = 320) -->
<!-- Incoming Message (Channel IPC descriptor = 320) -->
<!-- Time: 18:37:54:571 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<statusMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="6" containerType="RSSL_DT_NO_DATA" flags="0x28 (RSSL_STMF_HAS_MSG_KEY|RSSL_STMF_HAS_STATE)" dataState="RSSL_DATA_SUSPECT" streamState="RSSL_STREAM_CLOSED" code="RSSL_SC_NOT_FOUND" text="Request Rejected: Cannot request existing view on streamId that is not opened." dataSize="0">
<key flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)" serviceId="5001" name="TRI" nameType="1"/>
<dataBody>
</dataBody>
</statusMsg>Typically, the view request will have an element list in the payload.
<requestMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="6" containerType="RSSL_DT_ELEMENT_LIST" flags="0x446 (RSSL_RQMF_HAS_PRIORITY|RSSL_RQMF_STREAMING|RSSL_RQMF_HAS_QOS|RSSL_RQMF_HAS_VIEW)" qosDynamic="0" qosRate="2" qosTimeliness="1" priorityClass="1" priorityCount="1" dataSize="44">
<key flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)" serviceId="5001" name="TRI" nameType="1"/>
<dataBody>
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name=":ViewType" dataType="RSSL_DT_UINT" data="1"/>
<elementEntry name=":ViewData" dataType="RSSL_DT_ARRAY">
<array itemLength="2" primitiveType="RSSL_DT_INT">
<arrayEntry data="22"/>
<arrayEntry data="25"/>
<arrayEntry data="30"/>
<arrayEntry data="31"/>
<arrayEntry data="1025"/>
</array>
</elementEntry>
</elementList>
</dataBody>
</requestMsg>The containerType is RSSL_DT_ELEMENT_LIST.
Please check how you encode the view request message.
1 -
Thanks Jirapongse
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛