Bluesky post with image started failing with '[400] InvalidSize Referenced Size does not match stored blob'

:bullseye: What is your goal?

Post messages to Bluesky with attached images.

:thinking: What is the problem & what have you tried?

I have a Scenario that is triggered when a Twitch stream starts.
It does a number of things, but the part I’m have problems with is it posting notices to Bluesky.
It is now failing because of the image I’m trying to attach. It did work previously.

Steps in question:

  • HTTP module downloads stream thumbnail image
  • Google Drive Upload a file module uploads the image to Google Drive
  • Bluesky Upload Media module uploads the HTTP module’s image to Bluesky
  • Bluesky Create a post sends a message about the stream and attaches the image just uploaded to Bluesky

The Make Scenario was working until I used it earlier this week. Now I’m getting a “InvalidSize Referenced Size does not match stored blob” error when I try to post to Bluesky.

The images being uploaded to Google Drive are viewable, so that is ok.

The Bluesky Upload media is not giving an error, so that is probably ok.

The Bluesky Create a post error: is this from Bluesky? Or Make?
Has Make changed how I should map things? Or is Bluesky causing the problems now?

Images:

  1. Image of the cutdown Scenario that I created with just the steps I need to test. This Scenario has the same error.
  2. Bluesky Create a post module showing the error message
  3. Bluesky Create a post module mapping
  4. Bluesky Upload media modile mapping

References

:clipboard: Error messages or input/output bundles

RuntimeError
[400] InvalidSize Referenced Size does not match stored blob. Expected: 15780, Got: 150000

Origin
Bluesky

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey there,

this error means that there is a difference in the file sizes of the file you uploaded and the file you declared to be posted, which Bluesky interprets as them being different files.

Can you test and see if this occurs with a specific file? Or is it an ongoing issue that happens with any file at the moment?

Hello, It’s not work. I’ve got the same problem [150000] and I tested that with 5 different pictures. :frowning:

Ok can you check the module and see if you can map the blob size somewhere? Cause it sounds like something is getting capped at 150000 and not passing larger file sizes.

I’ve tried with a file smaller than that, but I still get the same 150000 size error returned.

Looks like it is trying to pass the wrong file to Bluesky.

Same problem here. It was working correctly until late March, stopped working in early April.