ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
247 stars 68 forks source link

The `IpfsClient::object_new` method never succeeds. #77

Open nathan-at-least opened 3 years ago

nathan-at-least commented 3 years ago

I'm unable to successfully call IpfsClient::object_new.

With the following code:

let client = IpfsClient::default();
client.object_new(None).await?

-I get the following output:

2021-06-02 14:31:50,873 TRACE [mio::poll] registering event source with poller: token=Token(0), interests=READABLE | WRITABLE                         
2021-06-02 14:31:50,873 TRACE [want] signal: Want
2021-06-02 14:31:50,873 TRACE [want] poll_want: taker wants!
2021-06-02 14:31:50,875 TRACE [mio::poll] deregistering event source from poller                                                                      
2021-06-02 14:31:50,876 TRACE [want] signal: Closed
Error: IpfsResponse(Parse(Error("missing field `Links`", line: 1, column: 57)))