multer icon indicating copy to clipboard operation
multer copied to clipboard

Multer PDF file upload fails in AWS ECS, other file formats works well

Open anandhud opened this issue 2 years ago • 1 comments

I have an endpoint in Nodejs that uploads the file to the server. Accepted file types are: .pdf, .docx, .txt.

I am able to upload .docx and .txt and able to read the file content.

But when i try to upload a PDF file, the endpoint returns 403 without any valid error. This fails in AWS ECS Docker, whereas it passes in local dev environment and local docker.

anandhud avatar Dec 27 '21 13:12 anandhud