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'}}]