rust-ipfs-api icon indicating copy to clipboard operation
rust-ipfs-api copied to clipboard

The `IpfsClient::object_new` method never succeeds.

Open nathan-at-least opened this issue 3 years ago • 0 comments

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)))                                                                       

nathan-at-least avatar Jun 02 '21 21:06 nathan-at-least