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

Answers