Skip to content

Is media upload working? #29

Closed
Closed

Description

@githubbbie

Everytime try to upload with the chunked media api, looks like success, but upon review: processing failed.

Using xurl v0.5.0

Get this error:

error during media processing: media processing failed

Source image:

Then, download to local disk, rename to 306204.png and confirm it is a png.

~/media # xurl media upload 306204.png
{
  "data":{
    "expires_after_secs":1296000,
    "id":"1959975206895702016",
    "media_key":"13_1959975206895702016",
    "processing_info":{
      "check_after_secs":1,
      "state":"pending"
    },
    "size":120531
  }
}

Then get:

Media uploaded successfully! Media ID: 1959975206895702016

So run:

~/media # xurl media status --wait 1959975206895702016

error during media processing: media processing failed

Help?

Activity

  1. santiagomed commented on Jun 29, 2026

    @santiagomed
    Collaborator

    Fixed in #78 (v1.2.0): images are no longer uploaded as video/mp4 (the old default) and forced through video processing, which was causing "media processing failed". A .png now auto-detects to image/png + tweet_image. Closing — please reopen if it recurs after v1.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions