Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.
This repository was archived by the owner on May 11, 2026. It is now read-only.

Failed to parse WebSocket message text #291

Description

@MaeThird

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions