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 @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 -
Hi @wasin.waeosri @umer.nalla , Thanks for your response. I tried doing it like the AuthLockExample and I get a different error now: The error is:
Nack Code: AccessDenied
Text: The supplied lock is not a DACS lock0 -
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
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛