Skip to content

You must supply a readable file error when using withImage and AWS S3 #64

Open
@mikecobb-io

Description

@mikecobb-io

The following code where $image is a publicly accessible jpeg image causes an error:

return (new TwitterStatusUpdate($message))->withImage($image);

The error is:
"message": "You must supply a readable file", "exception": "InvalidArgumentException", "file": "D:\\project\\vendor\\abraham\\twitteroauth\\src\\TwitterOAuth.php"

Any thoughts as to why this is happenign?

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