Skip to content

error "HTTP/1.1 404 Not Found\r\n" when trying to tweet with photo #172

@mptpro

Description

@mptpro

Describe the bug
When issuing the follwoing command:

twurl -H upload.twitter.com "/1.1/media/upload.json" -f a.jpg -F media -X POST -t

I get the error:

-> "HTTP/1.1 404 Not Found\r\n"
-> "cache-control: no-cache, no-store, max-age=0\r\n"
-> "content-length: 0\r\n"
-> "x-response-time: 4\r\n"
-> "x-connection-hash: 3ddb7f6ddab864ea7e81773f8b44750773be729c312c99ff84455776fbfb1b0d\r\n"
-> "date: Sat, 02 Apr 2022 09:02:52 GMT\r\n"
-> "server: tsa_a\r\n"
-> "connection: close\r\n"
-> "\r\n"
reading 0 bytes...

Desktop (please complete the following information):

  • OS: [e.g. iOS] : Pop_Os 22.04
  • twurl: 0.9.6
  • ruby: 3.0.2

Additional context
I CAN post a tweej without an image.

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