Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • WebSocket API /

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by chbailly · Sep 14, 2018 at 08:42 AM · treprdp-apiwebsocketsrrtodenied-by-src

DeniedBySrc publication error

We get following error when we are testing price publication via websocket on TREP platform.

{'ID': 2, 'Type': 'Ack', 'AckID': 1, 'NakCode': 'DeniedBySrc', 'Text': 'Unable to find item stream.', 'Key': {'Service': 'xxxx', 'Name': 'FDXU8'}}

What does these ‘DeniedBySrc’ and 'Unable to find item stream’ error message mean?

Here is an example of what we send and receive:

post: {"ID": 2, "PostID": 1, "Ack": true, "Type": "Post", "PostUserInfo": {"Address": "xxxx", "UserID": xxxx}, "Key": {"Service": "xxxx", "Name": "FDXU8"}, "Message": {"ID": 1, "Type": "Update", "Fields": {"BID": 12595.5, "BIDSIZE": 1, "ASK": 12601.5, "ASKSIZE": 1}}}

response: [{'ID': 2, 'Type': 'Ack', 'AckID': 1, 'NakCode': 'DeniedBySrc', 'Text': 'Unable to find item stream.', 'Key': {'Service': 'xxxx', 'Name': 'FDXU8'}}]

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Sep 14, 2018 at 09:08 AM

Hi @chbailly

Is this an OffStream post (using the Login stream) or an OnStream post (where you subscribe to the item first and then post on the open item stream).

You are using ID:2 which could suggest On-Stream - but have you first subscribed to FDXU8 first and created an open item stream using Stream ID:2 ?

If you do not want to subscribe to the item first, then you can use OffStream - where you open a Login Stream (i.e. Login successfully) which would be ID:1 and then send your Posts using Stream ID:1 - i.e. using the Login Stream for your posts.

If you refer to the Websocket API interactive documentation for Posting, that demonstrates OnStream posting - where you Login (ID:1), then make a MarketPrice request (ID:2) and then send a Post on the opened MarketPrice item stream (ID:2)

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by chbailly · Sep 17, 2018 at 04:10 AM

Thanks a lot, this is clear

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

How to clean streaming connection through websocket api

Websocket Contribution to an ATS which use PE/PPE Permission

failover in websockets api

How to download 'up to the current minute' historical data?

How does the application handle RMTES strings? (from WebSocket API Webinar Nov 29)

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges