Skip to content

Image posts resulting in Blob Not Found #1840

Discussion options

You must be logged in to vote

The getBlob endpoint won't return any uploaded blobs until they've been successfully "anchored" to at least one post record.

If we beautify your JSON, the issue becomes apparent - you haven't put the embed field inside the record object, and therefore it's being ignored silently. Since it never gets properly attached to the post, getBlob pretends it doesn't exist.

{
  "embed": {
    "images": [
      {
        "image": {
          "ref": {
            "$link": "bafkreigeo6ukmjkdnw2iujtuwonrohcnb35wngjzkprzh5ojowzosmkhoq"
          },
          "size": 311430,
          "$type": "blob",
          "mimeType": "image/jpg"
        },
        "alt": "brief alt text description of the image"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JayIsPainting
Comment options

Answer selected by bnewbold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants