Posting with WebSocket API: "A29: Post message did not contain permission data."

Hi, I'm trying the "Posting" capabilities of the WebSockets API. However, I keep getting the following error:
"NakCode": "AccessDenied",
"Text": "A29: Post message did not contain permission data.",
My post message is:
{
"Ack": true,
"Domain": "MarketPrice",
"ID": 2,
"Message": {
"Domain": "MarketPrice",
"Fields": {
"ASK": 45.57,
"BID": 45.55,
},
"ID": 0,
"Type": "Update"
},
"PostID": 1,
"PostUserInfo": {
"Address": "10.XX.XX.XX", # My IP address
"UserID": 5555 # Not sure what to use here?
},
"Type": "Post"
}
I'm following the documentation at:
WebSocket API Try it Now! Documentation
Implementing Elektron API applications to work with ATS
Your help is very much appreciated!
Best Answer
-
Hi @Joris H.
Please refer to the following two posts which contain relevant information - one is specific to Websocket, the other is for a different API.
So, you will need to check the entitlement requirements with your Market Data team / ATS Admnistrator and then encode a PermData value in your PostMsg as described in the first post above.
0
Answers
-
Hi @umer.nalla , I am getting the same error as below:
text="A29: Post message did not contain permission data."
Can you please let me know some example to set the permission data using EMA api?
0 -
Hi @ajay.gupta
Whilst I cannot find a specific EMA example, you should find the following two articles helpful
Visible Publisher Identifier | Refinitiv Developers
Implementing Elektron API applications to work with ATS - Part 1 | Refinitiv Developers
0 -
Hello @ajay.gupta
You can set the permission data via the following EMA Java function:
PostMsg.permissionData(java.nio.ByteBuffer permissionData);
You can see how to create a DACS Lock (permission data) in ETA Java AuthLockExample application. The example is available at <RTSDK-2.0.0.L1 package>\Java\Eta\Applications\Examples\src\main\java\com\refinitiv\eta\examples\authlock folder.
0 -
-
Hello @ajay.gupta
Could you please share the snippet code, the data that you pass to the PostMsg.permissionData() function, and the XML trace file? Please see the "XML trace" section of this article for more detail about how to enable the XML trace file.
I suggest you check the entitlement requirements with your Market Data team / ATS Administrator.
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
- 684 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
- 249 ETA
- 554 WebSocket API
- 37 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
- 643 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 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 中文论坛