Hi, I can subscribe rtds data by my own code but changed to official sdk version 0.4.4 it failed with
2026-03-18T06:49:48.088400Z WARN polymarket_client_sdk::ws::connection: Failed to parse WebSocket message text={"message": "Invalid request body", "connectionId":"aaCp5fBrLPECFSQ=", "requestId":"aaCp8HYFLPEEQwg="} error=Internal: missing field `topic` at line 1 column 102
my calling code is like this
let client = polymarket_client_sdk::rtds::Client::default();
info!("{:?}", client.connection_state());
let stream = client
.subscribe_chainlink_prices(symbol_clone)
.context("Failed to subscribe Chainlink prices");
let stream = match stream {
Ok(stream) => stream,
Err(e) => {
error!("subscribe_chainlink_prices {}", e);
return;
}
};
Am I using this wrong, or didn't you test the version before release?
Hi, I can subscribe rtds data by my own code but changed to official sdk version 0.4.4 it failed with
my calling code is like this
Am I using this wrong, or didn't you test the version before release?