multer
multer copied to clipboard
Multer PDF file upload fails in AWS ECS, other file formats works well
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.