No response when requesting empty string from Elektron Websocket

Hi, I encountered a problem when using the elektron real-time API described in this documentation https://github.com/Refinitiv/websocket-api/blob/master/WebsocketAPI_ProtocolSpecification.pdf


When I make a batch request via this API, I expect a batch response and then as many item responses as the number of strings I put in the "Key": "Name" array.


However when an item in the "Key": "Name" array is the empty string ("") the item's response never comes. I believe this is a bug.


Example of pathological request (this is Rust's representation of JSON):

Object({
"ID": Number(2),
"Key": Object({
"Name": Array([String("")]),
"Service": String("IDN_SELECTFEED"),
}),
"Streaming": Bool(false),
"View": Array([String("DSPLY_NAME")]),
})

Then the batch response comes:

Object({
"ID": Number(2),
"State": Object({
"Data": String("Ok"),
"Stream": String("Closed"),
"Text": String("Processed 1 total items from Batch Request. 1 Ok."),
}),
"Type": String("Status"),
})

But the item response for "" never comes, I believe I response containing an error message should be returned.

Find more posts tagged with

Sort by:
1 - 1 of 11

    Hello @Tristan6846132

    The "Request Rejected: Request key did not contain name." status text message is generated from the RTDS/TREP. The message means the request message does not have the item or RIC name.

    I highly recommend you filter out the request message with an empty RICs string/array at the application level while the RTDS support team is investigating the issue.