Skip to content

Failing works with files #672

Open
Open
@OdedVaalany

Description

@OdedVaalany

Hi, I'm using this library and I got stuck.
I have an API that receives payloads with images.
so I sent the image using Postman when running the express locally work fine and the image was not corrupted.
but when I'm using the AWS cloud, sending the same request from the postman the PNG images flips bytes, and this corrupts the image when I'm saving it into the s3 bucket.
I did everything that needed to be configured in the AWS platform i think it happened because of this lib.
the png buffer data start with: <Buffer ff d8 ff e0 00 10 4a 46 49 46 (from local logs)
and within the cloud, it becomes: <Buffer ef bf bd ef bf bd ef bf bd ef bf bd 00 10 4a 46 49 (form CloudWatch logs)

uploading the implementations:
image
image
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