A better Rust ATProto crate

Generated Agent.upload_blob method fails #11

closed
opened by vielle.dev edited

This occurs even when using the upload post with image example.
Error is Failed to decode response: Failed to deserialize JSON: invalid type: map, expected either valid IPLD CID bytes or a str at line 1 column 31
Tested with at://vielle.dev on https://katproto.girlonthemoon.xyz and at://john-doe.pds.vielle.dev on https://pds.vielle.dev
Also happens when using the com_atproto::repo::upload_blob helpers Possibly related to upload_blob changes in 0.5.4

will look into it, thanks. sounds like the Blob type's deserialization is incorrect.

Going to close this as i've since tested post bugfix and it now works.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:4zht3z4caxwrw3dlsybodywc/sh.tangled.repo.issue/3m3f4uah33722