Pathfix & Posting Images to Twitter (Invalid Media ID - Null)

I’m using Pathfix to Post to Twitter.

Pathfix’s Twitter V1+V2 integration is setup to Post with Media, (Twitter V2+V1 Post With Media - Pathfix | Bubble.io Integration Docs) but it only works when an image is uploaded in real time, not with an image saved from the database.

Does anyone know how I can Post through Pathfix with an image saved from the database? Pathfix directed me to bubble’s support team, but they were unable to provide a solution.

Pathfix Request:
{
“method”: “POST”,
“url”: “https://upload.twitter.com/1.1/media/upload.json?command=INIT&total_bytes=null&media_type=image%2Fpng”,
“async”: false,
“form”: {},
“call_id”: “bf878fdd-4ec7-48f2-9db5-ca57d0f680d8”
}

Pathfix Response:
{
“body”: {
“request”: “/1.1/media/upload.json”,
“error”: “Invalidtotal_bytes:Some(null).”
},
“status”: “400”,
“contentType”: “application/json”,
“duration”: “0.1404029”
}

Bubble’s response for support:
"After looking into this thoroughly, it seems like the reason that the file size parameter returns as empty when you are retrieving a dynamic source from the database is because the “file size” operator refers to an image that is being uploaded to the uploader on the frontend, not one that already exists as its dynamic placeholder on the backend.

There are not many native ways to retrieve the size of a file retroactively, though you could hypothetically save the size of a file being uploaded to some field in your database when it is uploaded, and then access that field later."

I’ve tried saving the file size in the database, but still no luck.